Skip to content

vip config envvar

Manage environment variables for an environment.

Usage

vip config envvar [options] [command]

Options

OptionDescription
-d, --debug Generate verbose output during command execution to help identify or fix errors or bugs.
-h, --help Retrieve a description, examples, and available options for a (sub)command.
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine.

Examples

- Delete the environment variable "MY_VARIABLE" from the environment.
$ vip @example-app.develop config envvar delete MY_VARIABLE

- Retrieve the value of the environment variable "MY_VARIABLE".
$ vip @example-app.develop config envvar get MY_VARIABLE

- Retrieve a list of all environment variables in the default table format.
$ vip @example-app.develop config envvar get-all

- List the names of all environment variables.
$ vip @example-app.develop config envvar list

- Add or update the environment variable "MY_VARIABLE" and assign its value at the prompt.
$ vip @example-app.develop config envvar set MY_VARIABLE

Subcommands

NameDescription
delete Delete an environment variable.
get Retrieve the value of an environment variable.
get-all Retrieve the names and values of all environment variables.
list List the names of all environment variables.
set Add or update an environment variable.

Last updated: July 11, 2024