vip config envvar set [options]
Add or update an environment variable
Options
Argument | Description |
---|---|
-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
# Set the environment variable "MY_VARIABLE" and receive a prompt for its value $ vip @mytestsite.develop config envvar set EXAMPLE_ENV_VAR For multiline input, use the --from-file option. ✔ Enter the value for EXAMPLE_ENV_VAR: · 1234567890 ✔ Please confirm the input value above (y/N) · true Successfully set environment variable "EXAMPLE_ENV_VAR"
Global Options
Argument | Description |
---|---|
-a , --app=<app> | Specify the app |
-d , --debug | Activate debug output |
-e , --env=<env> | Specify the environment |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
-y , --yes | Run the command in production without a confirmation prompt |
Last updated: December 22, 2022