14
14
15
15
@ CommandLine .Command (
16
16
name = CommandNames .GENERATE ,
17
- aliases = CommandNames .ALIAS_GENERATE )
17
+ aliases = CommandNames .ALIAS_GENERATE ,
18
+ sortOptions = false
19
+ )
18
20
public class GenerateSubcommand extends GenericActCommand <NoProperties , NoClient > {
19
21
22
+ @ CommandLine .Option (names = {"-d" , "--destination" }, paramLabel = "..." , descriptionKey = "crowdin.generate.destination" , defaultValue = "crowdin.yml" , order = -2 )
23
+ private Path destinationPath ;
24
+
20
25
@ CommandLine .Option (names = {"-T" , "--token" }, paramLabel = "..." , descriptionKey = "params.token" , order = -2 )
21
26
private String token ;
22
27
23
- @ CommandLine .Option (names = {"--base-url " }, paramLabel = "..." , descriptionKey = "params.base-url " , order = -2 )
24
- private String baseUrl ;
28
+ @ CommandLine .Option (names = {"-i" , "--project-id " }, paramLabel = "..." , descriptionKey = "params.project-id " , order = -2 )
29
+ private String projectId ;
25
30
26
31
@ CommandLine .Option (names = {"--base-path" }, paramLabel = "..." , descriptionKey = "params.base-path" , order = -2 )
27
32
private String basePath ;
28
33
29
- @ CommandLine .Option (names = {"-i" , "--project-id " }, paramLabel = "..." , descriptionKey = "params.project-id " , order = -2 )
30
- private String projectId ;
34
+ @ CommandLine .Option (names = {"--base-url " }, paramLabel = "..." , descriptionKey = "params.base-url " , order = -2 )
35
+ private String baseUrl ;
31
36
32
37
@ CommandLine .Option (names = {"-s" , "--source" }, paramLabel = "..." , descriptionKey = "params.source" , order = -2 )
33
38
private String source ;
@@ -38,9 +43,6 @@ public class GenerateSubcommand extends GenericActCommand<NoProperties, NoClient
38
43
@ CommandLine .Option (names = {"--preserve-hierarchy" }, negatable = true , paramLabel = "..." , descriptionKey = "params.preserve-hierarchy" , order = -2 )
39
44
private Boolean preserveHierarchy ;
40
45
41
- @ CommandLine .Option (names = {"-d" , "--destination" }, paramLabel = "..." , descriptionKey = "crowdin.generate.destination" , defaultValue = "crowdin.yml" , order = -2 )
42
- private Path destinationPath ;
43
-
44
46
@ CommandLine .Option (names = "--skip-generate-description" , hidden = true )
45
47
private boolean skipGenerateDescription ;
46
48
0 commit comments