-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add prompt to example in messages
- Loading branch information
1 parent
2a05ef8
commit dbbb69e
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"description": "authorize an org using an existing Salesforce access token\nBy default, the command runs interactively and asks you for the access token. If you previously authorized the org, the command prompts whether you want to overwrite the local file. Specify --noprompt to not be prompted.\nTo use the command in a CI/CD script, set the SFDX_ACCESS_TOKEN environment variable to the access token. Then run the command with the --noprompt parameter.", | ||
"examples": [ | ||
"sfdx auth:accesstoken:store --instanceurl https://mycompany.my.salesforce.com", | ||
"export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx\nsfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt" | ||
"$ sfdx auth:accesstoken:store --instanceurl https://mycompany.my.salesforce.com", | ||
"$ export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx\nsfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt" | ||
], | ||
"invalidAccessTokenFormat": "The access token isn't in the correct format.\nIt should follow this pattern: %s." | ||
} |