File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/main/java/dev/dashaun/shell/initializr/plusplus Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 72
72
<plugin >
73
73
<groupId >io.spring.javaformat</groupId >
74
74
<artifactId >spring-javaformat-maven-plugin</artifactId >
75
- <version >0.0.39 </version >
75
+ <version >0.0.41 </version >
76
76
<executions >
77
77
<execution >
78
78
<goals >
Original file line number Diff line number Diff line change 6
6
import org .apache .maven .model .io .xpp3 .MavenXpp3Writer ;
7
7
import org .codehaus .plexus .util .xml .pull .XmlPullParserException ;
8
8
import org .springframework .shell .Availability ;
9
+ import org .springframework .shell .command .annotation .Command ;
9
10
import org .springframework .shell .standard .*;
10
11
11
12
import java .io .*;
@@ -55,6 +56,7 @@ public String projectDescription(@ShellOption(defaultValue = "") String descript
55
56
: "Successfully set project name to '%s'" .formatted (description );
56
57
}
57
58
59
+ @ Command
58
60
@ ShellMethod ("Update the project name" )
59
61
public String projectName (@ ShellOption (defaultValue = "${project.groupId}.${project.artifactId}" ) String name ) {
60
62
try {
You can’t perform that action at this time.
0 commit comments