File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
const { CLI_NAME } = require ( '../config' ) ;
2
2
3
+ const ENV_VAR_CMD = process . platform === 'win32' ? 'set' : 'export' ;
4
+
3
5
exports . HELP_ENVIRONMENT_VARIABLES = `Alternatively, ${ CLI_NAME } can use credentials stored in environment variables:
4
6
5
7
# OPTION 1 (recommended)
6
- TWILIO_ACCOUNT_SID = your Account SID from twil.io/console
7
- TWILIO_API_KEY = an API Key created at twil.io/get-api-key
8
- TWILIO_API_SECRET = the secret for the API Key
8
+ ${ ENV_VAR_CMD } TWILIO_ACCOUNT_SID= your Account SID from twil.io/console
9
+ ${ ENV_VAR_CMD } TWILIO_API_KEY= an API Key created at twil.io/get-api-key
10
+ ${ ENV_VAR_CMD } TWILIO_API_SECRET= the secret for the API Key
9
11
10
12
# OPTION 2
11
- TWILIO_ACCOUNT_SID = your Account SID from twil.io/console
12
- TWILIO_AUTH_TOKEN = your Auth Token from twil.io/console
13
+ ${ ENV_VAR_CMD } TWILIO_ACCOUNT_SID= your Account SID from twil.io/console
14
+ ${ ENV_VAR_CMD } TWILIO_AUTH_TOKEN= your Auth Token from twil.io/console
13
15
14
16
Once these environment variables are set, a ${ CLI_NAME } profile is not required to move forward with installation.` ;
15
17
You can’t perform that action at this time.
0 commit comments