From 1e0590d8dabb8e393f900ee3749e02090cf67f6f Mon Sep 17 00:00:00 2001 From: Helder Oliveira Date: Thu, 19 Sep 2024 16:36:42 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20help=20subcommand?= =?UTF-8?q?=20and=20description=20for=20logout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.json | 3 ++- src/commands/auth/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/locales/en.json b/locales/en.json index 4679413..8f9205a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -349,5 +349,6 @@ "failedCalculateBlake3Hash": "Failed to calculate the Blake3 hash. Please try again!", "failedDeployFleekFunction": "Failed to deploy the Fleek Function. Please try again!", "warnProvideValidDomainName": "Please provide a valid domain name.", - "cmdAuthLoginDescription": "Authenticate the CLI session using the Fleek Platform Web app. Open the URL in your favourite browser to initiate the browser-based login process. Select your preferred authentication method and return to CLI once completed." + "cmdAuthLoginDescription": "Authenticate the CLI session using the Fleek Platform Web app. Open the URL in your favourite browser to initiate the browser-based login process. Select your preferred authentication method and return to CLI once completed.", + "cmdAuthLogoutDescription": "Ends your active CLI session, securing your account. Disables access to personal features such as storage and site deployment until re-authentication." } diff --git a/src/commands/auth/index.ts b/src/commands/auth/index.ts index 5d5771d..11864d8 100644 --- a/src/commands/auth/index.ts +++ b/src/commands/auth/index.ts @@ -27,7 +27,7 @@ export default (cmd: Command) => { cmd .command('logout') - .description(t('loginToFlkPlt', { status: t('logoutOf') })) + .description(t('cmdAuthLogoutDescription')) .action(logoutActionHandler) .addHelpCommand(); };