diff --git a/src/commands/projects/index.ts b/src/commands/projects/index.ts index 5e31a35..4d8cf64 100644 --- a/src/commands/projects/index.ts +++ b/src/commands/projects/index.ts @@ -9,22 +9,26 @@ export default (program: Command) => { const cmd = program .command('projects') .option('-h, --help', t('printHelp')) - .description(t('projectsDescription')); + .description(t('projectsDescription')) + .addHelpCommand(); cmd .command('list') .description(t('projectsListDesc')) - .action(() => listProjectsActionHandler()); + .action(() => listProjectsActionHandler()) + .addHelpCommand(); cmd .command('switch') .option('--id ', t('projectsSwitchOptId')) .description(t('projectsSwitchBetween')) - .action((options: { id?: string }) => switchProjectActionHandler(options)); + .action((options: { id?: string }) => switchProjectActionHandler(options)) + .addHelpCommand(); cmd .command('create') .option('--name ', t('projectsWhatNameOfProject')) .description(t('projectsCreateNewDesc')) - .action((options: { name: string }) => createProjectActionHandler(options)); + .action((options: { name: string }) => createProjectActionHandler(options)) + .addHelpCommand(); };