From 6b574eee14cfb223ad2a50de154fd85e4aa91426 Mon Sep 17 00:00:00 2001 From: Helder Oliveira Date: Thu, 19 Sep 2024 16:57:47 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20help=20subcommand?= =?UTF-8?q?=20and=20description=20for=20pat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/pat/index.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/commands/pat/index.ts b/src/commands/pat/index.ts index 065ba96..6ed1a12 100644 --- a/src/commands/pat/index.ts +++ b/src/commands/pat/index.ts @@ -16,7 +16,8 @@ export default (program: Command) => { cmd .command('list') // .description(t('patListDesc')) - .action(listPersonalAccessTokensActionHandler); + .action(listPersonalAccessTokensActionHandler) + .addHelpCommand(); cmd .command('create') @@ -35,7 +36,8 @@ export default (program: Command) => { authApiUrl, ...args, }); - }); + }) + .addHelpCommand(); cmd .command('delete') @@ -50,7 +52,8 @@ export default (program: Command) => { ) .action((personalAccessTokenId: string) => deletePersonalAccessTokenActionHandler({ personalAccessTokenId }), - ); + ) + .addHelpCommand(); cmd.command('help').description(t('printHelp')); };