begin env

Manage your Begin app’s environment variables

begin env <action> <parameters> [options]
npx begin env <action> <parameters> [options]

begin env create

Create an environment variable

begin env create <parameters> [options]

Parameters

-e, --env
Environment in which to create the variable
-n, --name
Env variable name; alternately use -k, --key
-v, --value
Env variable value

Examples

Create a variable named ‘FOO’ in ‘staging’

begin env create --env staging --name FOO --value bar
npx begin env create --env staging --name FOO --value bar

begin env destroy

Delete an environment variable

begin env destroy <parameters> [options]
npx begin env destroy <parameters> [options]

Parameters

-e, --env
Environment in which to create the variable
-n, --name
Env variable name; alternately use -k, --key

Examples

Delete a variable named ‘foo’ in ‘staging’

begin env destroy --env staging --name foo
npx begin env destroy --env staging --name foo

begin env list

List an environment’s variables

begin env list <parameters> [options]
npx begin env list <parameters> [options]

Parameters

-e, --env
Environment in which to create the variable

Examples

List environment variables

begin env list
npx begin env list