Skip to content

Commit

Permalink
chore: 🤖 add help subcommand and description for login
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Sep 19, 2024
1 parent 6bcca7a commit 2e41785
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 @@ -348,5 +348,6 @@
"unexpectedFileFormat": "We weren't expecting the format {format}. Kindly submit a detailed report of the issue to our support team.",
"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."
"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."
}
2 changes: 1 addition & 1 deletion src/commands/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { logoutActionHandler } from './logout';
export default (cmd: Command) => {
cmd
.command('login')
.description(t('loginToFlkPlt', { status: t('loginTo') }))
.description(t('cmdAuthLoginDescription'))
.action(() => {
const uiAppUrl = getDefined('UI__APP_URL');
const authApiUrl = getDefined('SDK__GRAPHQL_API_URL');
Expand Down

0 comments on commit 2e41785

Please sign in to comment.