@@ -18,23 +18,23 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
1818 static flags : any = {
1919 'token-alias' : flags . string ( {
2020 char : 'a' ,
21- description : 'delivery token alias' ,
21+ description : '(mandatory) Delivery token alias. ' ,
2222 hidden : false ,
2323 multiple : false ,
2424 required : true ,
2525 } ) ,
2626
2727 output : flags . string ( {
2828 char : 'o' ,
29- description : 'full path to output' ,
29+ description : '(mandatory) The full path to output. ' ,
3030 hidden : false ,
3131 multiple : false ,
3232 required : true ,
3333 } ) ,
3434
3535 prefix : flags . string ( {
3636 char : 'p' ,
37- description : 'interface prefix, e.g. "I"' ,
37+ description : '(optional) Interface prefix, e.g., "I". ' ,
3838 hidden : false ,
3939 multiple : false ,
4040 default : '' ,
@@ -43,31 +43,31 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
4343
4444 doc : flags . boolean ( {
4545 char : 'd' ,
46- description : 'include documentation comments' ,
46+ description : '(optional) Include documentation comments. By default, this flag is enabled. ' ,
4747 default : true ,
4848 allowNo : true ,
4949 } ) ,
5050
5151 branch : flags . string ( {
52- description : 'branch' ,
52+ description : '(optional) The name of the branch to be used. ' ,
5353 hidden : false ,
5454 multiple : false ,
5555 } ) ,
5656
5757 'include-system-fields' : flags . boolean ( {
58- description : 'include system fields in generated types' ,
58+ description : '(optional) Include system fields in generated types. ' ,
5959 default : false ,
6060 } ) ,
6161
6262 'api-type' : flags . string ( {
6363 default : 'rest' ,
6464 multiple : false ,
6565 options : [ 'rest' , 'graphql' ] ,
66- description : '[Optional] Please enter an API type to generate the type definitions.' ,
66+ description : '[optional] The API type to generate type definitions. Supported options: rest, graphql .' ,
6767 } ) ,
6868
6969 namespace : flags . string ( {
70- description : '[Optional]Please enter a namespace for the GraphQL API type to organize the generated types.' ,
70+ description : '[optional] The namespace for the GraphQL API type to organize the generated types.' ,
7171 } ) ,
7272 } ;
7373
0 commit comments