diff --git a/src/services/messaging/help-messages.js b/src/services/messaging/help-messages.js index b7350508..1fc736b3 100644 --- a/src/services/messaging/help-messages.js +++ b/src/services/messaging/help-messages.js @@ -1,15 +1,17 @@ const { CLI_NAME } = require('../config'); +const ENV_VAR_CMD = process.platform === 'win32' ? 'set' : 'export'; + exports.HELP_ENVIRONMENT_VARIABLES = `Alternatively, ${CLI_NAME} can use credentials stored in environment variables: # OPTION 1 (recommended) -TWILIO_ACCOUNT_SID = your Account SID from twil.io/console -TWILIO_API_KEY = an API Key created at twil.io/get-api-key -TWILIO_API_SECRET = the secret for the API Key +${ENV_VAR_CMD} TWILIO_ACCOUNT_SID=your Account SID from twil.io/console +${ENV_VAR_CMD} TWILIO_API_KEY=an API Key created at twil.io/get-api-key +${ENV_VAR_CMD} TWILIO_API_SECRET=the secret for the API Key # OPTION 2 -TWILIO_ACCOUNT_SID = your Account SID from twil.io/console -TWILIO_AUTH_TOKEN = your Auth Token from twil.io/console +${ENV_VAR_CMD} TWILIO_ACCOUNT_SID=your Account SID from twil.io/console +${ENV_VAR_CMD} TWILIO_AUTH_TOKEN=your Auth Token from twil.io/console Once these environment variables are set, a ${CLI_NAME} profile is not required to move forward with installation.`;