fix: standardize error messages for missing required flags by jeremybeard · Pull Request #2056 · astronomer/astro-cli

@jeremybeard

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.

@jeremybeard marked this pull request as ready for review

March 25, 2026 19:11