#1

Added TODO #2

Openscooterthedevwants to merge intofrom

Env vars should now use --prod to delete prod instead of deleting by default and --preview to delete previews

Activity

4
copilot-pull-request-reviewer[bot]reviewed11mo ago
copilot-pull-request-reviewer[bot]11mo ago

Pull request overview

This PR implements explicit deployment type targeting for environment variable commands by adding a --prod flag alongside the existing --preview flag. The goal is to require users to explicitly specify whether they're operating on production or preview deployments, particularly for the env rm command to prevent accidental deletions.

Key changes:

  • Added --prod flag to explicitly target production deployments
  • Added validation to prevent using both --prod and --preview simultaneously
  • Required explicit flag specification for env rm command

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

FileDescription
cmd/root.goDeclares the new prodFlag boolean variable
cmd/env.goAdds --prod flag registration and validation logic across env subcommands (add, rm, pull, push)
TODOMarks the TODO item as DONE

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

S
82306af