Skip to content

Commit

Permalink
chore: 🤖 add help subcommand and description for logout
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Sep 19, 2024
1 parent 2e41785 commit 1e0590d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
2 changes: 1 addition & 1 deletion src/commands/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default (cmd: Command) => {

cmd
.command('logout')
.description(t('loginToFlkPlt', { status: t('logoutOf') }))
.description(t('cmdAuthLogoutDescription'))
.action(logoutActionHandler)
.addHelpCommand();
};

0 comments on commit 1e0590d

Please sign in to comment.