Skip to content

Commit dbbb69e

Browse files
fix: add prompt to example in messages
1 parent 2a05ef8 commit dbbb69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

messages/accesstoken.store.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"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://mycompany.my.salesforce.com",
5-
"export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx\nsfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt"
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"
66
],
77
"invalidAccessTokenFormat": "The access token isn't in the correct format.\nIt should follow this pattern: %s."
88
}

0 commit comments

Comments
 (0)