diff --git a/src/commands/gateways/index.ts b/src/commands/gateways/index.ts index 7d30353..085436c 100644 --- a/src/commands/gateways/index.ts +++ b/src/commands/gateways/index.ts @@ -15,7 +15,8 @@ export default (program: Command) => { cmd .command('list') .description(t('listAllPrvGwForSelectProject')) - .action(() => listPrivateGatewaysActionHandler()); + .action(() => listPrivateGatewaysActionHandler()) + .addHelpCommand(); cmd .command('detail') @@ -36,7 +37,8 @@ export default (program: Command) => { .description(t('gatewayShowDetails')) .action((options: { id?: string; slug?: string }) => detailPrivateGatewayActionHandler(options), - ); + ) + .addHelpCommand(); cmd .command('create') @@ -44,7 +46,8 @@ export default (program: Command) => { .description(t('gatewayCreateCmdDesc')) .action((options: { name?: string }) => createPrivateGatewayActionHandler(options), - ); + ) + .addHelpCommand(); cmd .command('delete') @@ -67,7 +70,8 @@ export default (program: Command) => { .description(t('gatewayDelete')) .action((options: { id?: string; slug?: string }) => deletePrivateGatewayActionHandler(options), - ); + ) + .addHelpCommand(); cmd.command('help').description(t('printHelp')); };