fix: standardize error messages for missing required flags by jeremybeard · Pull Request #2056 · astronomer/astro-cli
Replace 21 instances of bare "flag --deployment-id is required" with actionable errors that tell the user how to find valid values (e.g., "run: astro deployment list"). Add hint text to --deployment-id flag descriptions across all commands. Introduces errRequiredFlag() helper in cmd/cloud/errors.go for consistent error formatting going forward.
marked this pull request as ready for review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters