Skip to content

Browse: Home / VIP-CLI Commands / vip config / vip config envvar / vip config envvar set

vip config envvar set [options]

Add or update an environment variable

Options

ArgumentDescription
-a, --appSpecify the app
-d, --debugActivate debug output
-e, --envSpecify the environment
-f, --from-fileRead environment variable value from file (useful for multiline input)
-h, --helpOutput the help for the (sub)command
-s, --skip-confirmationSkip manual confirmation of input (USE WITH CAUTION) (disabled by default)
-v, --versionOutput the version number

Examples

   # Sets the environment variable "MY_VARIABLE" and prompts for its value
    $ vip config envvar set MY_VARIABLE

Global Options

ArgumentDescription
-a, --app=<app>Specify the app
-d, --debugActivate debug output
-e, --env=<env>Specify the environment
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number
-y, --yesRun the command in production without a confirmation prompt

Last updated: September 30, 2022