Skip to content

Commit

Permalink
feat(args): add shortcut for convertionType
Browse files Browse the repository at this point in the history
  • Loading branch information
nivekcode committed Jun 16, 2020
1 parent 4246587 commit f061efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/options/args-collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const setupCommander = () => {
const collect = (value, previous) => previous.concat([value]);
commander
.version(packgeJSON.version)
.option('--convertionType <ConvertionType>', 'convertion type (object, constants, files)')
.option('-c --convertionType <ConvertionType>', 'convertion type (object, constants, files)')
.option('--objectName <string>', 'name of the exported object', DEFAULT_OPTIONS.objectName)
.option('-t --typeName <string>', 'name of the generated enumeration type', DEFAULT_OPTIONS.typeName)
.option('--generateType <boolean>', 'prevent generating enumeration type', DEFAULT_OPTIONS.generateType)
Expand Down

0 comments on commit f061efc

Please sign in to comment.