Skip to content

Commit

Permalink
fix: edit help for auth:accesstoken:store
Browse files Browse the repository at this point in the history
  • Loading branch information
jshackell-sfdc authored Jun 24, 2021
1 parent 56860fa commit 61d51d8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions messages/accesstoken.store.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"description": "authorize an org using a Salesforce access token\nWhen run interactively, the command prompts you for the access token.\nTo use the command in a CI/CD script, set the SFDX_ACCESS_TOKEN environment variable to the access token.",
"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://login.salesforce.com",
"sfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com",
"export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nsfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com"
"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."
}

0 comments on commit 61d51d8

Please sign in to comment.