Skip to content

Commit 10181b7

Browse files
committed
feat: Add new parameters to cli
1 parent 504928f commit 10181b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ const params = program
2121
.option('--exportModels <value>', 'Write models to disk', true)
2222
.option('--exportSchemas <value>', 'Write schemas to disk', false)
2323
.option('--indent <value>', 'Indentation options [4, 2, tabs]', '4')
24-
.option('--postfix <value>', 'Service name postfix', 'Service')
24+
.option('--postfix <value>', 'Deprecated: Use --postfixServices instead. Service name postfix', 'Service')
25+
.option('--postfixServices <value>', 'Service name postfix', 'Service')
26+
.option('--postfixModels <value>', 'Model name postfix', '')
2527
.option('--request <value>', 'Path to custom request file')
2628
.parse(process.argv)
2729
.opts();

0 commit comments

Comments
 (0)