feat: add --force flag to all confirmation prompts missing bypass by jeremybeard · Pull Request #2057 · astronomer/astro-cli

@jeremybeard

Add --force to skip interactive confirmations across the CLI:

- astro deploy: skip "No DAGs found" warning with --force
- astro dev init: skip non-empty directory confirmation with --force
- astro organization team update/delete: skip IDP-managed team
  confirmation with --force
- astro organization team user add/remove: same
- astro deployment create: add --force for fromfile CICD enforcement
  confirmation
- astro deployment update: fix existing --force to also skip CICD
  enforcement + dag-deploy warning

Plumbs force parameter through cloud/team (confirmOperation),
cloud/deploy (InputDeploy.Force), and cloud/deployment/fromfile
(CreateOrUpdate) with all corresponding test updates.

@jeremybeard marked this pull request as ready for review

March 25, 2026 19:13

@jlaneve @claude

…file

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>