Skip to content

vip config envvar set

Add or update an environment variable

Usage

vip @mysite.develop config envvar set <VARIABLE_NAME> [options]

Options

OptionDescription
-a, --app Specify the app
-d, --debug Activate debug output
-e, --env Specify the environment
-f, --from-file Read environment variable value from file (useful for multiline input)
-h, --help Output the help for the (sub)command
-s, --skip-confirmation Skip manual confirmation of input (USE WITH CAUTION) (disabled by default)
-v, --version Output the version number

Examples

- Sets the environment variable "MY_VARIABLE" and prompts for its value
$ vip @mysite.develop config envvar set MY_VARIABLE

Last updated: April 08, 2024