Adds a confirmation prompt when setting or deleting an env vars on production environments:
╰─$ vip @5190.production config envvar set EXAMPLE_ENV_VAR 130 ↵
? Are you sure you want to set the environment variable EXAMPLE_ENV_VAR on PRODUCTION for site rebecca-testing-2? (y/N) › false
╰─$ vip @5190.production config envvar delete EXAMPLE_ENV_VAR
? Are you sure you want to delete the environment variable EXAMPLE_ENV_VAR on PRODUCTION for site rebecca-testing-2? (y/N) › false
Pull request checklist
[ ] Update SETUP.md with any new environmental variables.
Description
Adds a confirmation prompt when setting or deleting an env vars on production environments:
Pull request checklist
New release checklist
Steps to Test
Outline the steps to test and verify the PR here.
Example:
npm run build
vip @5190.production config envvar set EXAMPLE_ENV_VAR
and expect confirmation prompt--skip-confirmation
and expect no confirmation prompt