#1
Added TODO #2
Env vars should now use --prod to delete prod instead of deleting by default and --preview to delete previews
Activity
4copilot-pull-request-reviewer[bot]reviewed11mo ago
Env vars should now use --prod to delete prod instead of deleting by default and --preview to delete previews
Pull request overview
This PR implements explicit deployment type targeting for environment variable commands by adding a
--prodflag alongside the existing--previewflag. The goal is to require users to explicitly specify whether they're operating on production or preview deployments, particularly for theenv rmcommand to prevent accidental deletions.Key changes:
--prodflag to explicitly target production deployments--prodand--previewsimultaneouslyenv rmcommandReviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
prodFlagboolean variable--prodflag registration and validation logic across env subcommands (add, rm, pull, push)💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.