From 10181b72089ccfb69932d940f664afdc183260ae Mon Sep 17 00:00:00 2001 From: Mark Brockhoff Date: Thu, 14 Jul 2022 11:23:39 +0200 Subject: [PATCH] feat: Add new parameters to cli --- bin/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/index.js b/bin/index.js index decf7942..c773190d 100755 --- a/bin/index.js +++ b/bin/index.js @@ -21,7 +21,9 @@ const params = program .option('--exportModels ', 'Write models to disk', true) .option('--exportSchemas ', 'Write schemas to disk', false) .option('--indent ', 'Indentation options [4, 2, tabs]', '4') - .option('--postfix ', 'Service name postfix', 'Service') + .option('--postfix ', 'Deprecated: Use --postfixServices instead. Service name postfix', 'Service') + .option('--postfixServices ', 'Service name postfix', 'Service') + .option('--postfixModels ', 'Model name postfix', '') .option('--request ', 'Path to custom request file') .parse(process.argv) .opts();