grey env
Manage the project's environment variables
Manage the project's environment variables
grey envFlags:
--env string production or preview (default "production")grey env ls
List variable names (values stay hidden)
grey env lsAlso takes its parent's flags:
--env string production or preview (default "production")grey env pull
Download the stored values into .env.prod (the only command that downloads secrets)
grey env pull [flags]Flags:
--yes overwrite .env.prod without askingAlso takes its parent's flags:
--env string production or preview (default "production")grey env push
Load a whole file (default .env.prod), after showing which keys change
grey env push [file] [flags]Flags:
--prune also remove stored variables that aren't in the file
--yes don't ask before changing variablesAlso takes its parent's flags:
--env string production or preview (default "production")grey env rm
Remove variables
grey env rm KEY...Also takes its parent's flags:
--env string production or preview (default "production")grey env set
Set variables; services that use them restart with the new values
grey env set KEY=VALUE...Also takes its parent's flags:
--env string production or preview (default "production")