Skip to content

Commit 61d51d8

Browse files
fix: edit help for auth:accesstoken:store
1 parent 56860fa commit 61d51d8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

messages/accesstoken.store.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"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.",
2+
"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.",
33
"examples": [
4-
"sfdx auth:accesstoken:store --instanceurl https://login.salesforce.com",
5-
"sfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com",
6-
"export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\nsfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com"
4+
"sfdx auth:accesstoken:store --instanceurl https://mycompany.my.salesforce.com",
5+
"export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx\nsfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt"
76
],
87
"invalidAccessTokenFormat": "The access token isn't in the correct format.\nIt should follow this pattern: %s."
98
}

0 commit comments

Comments
 (0)