fix(cli): resolve --force/-f short form conflict on project delete #1263

Merged
freemo merged 1 commits from fix/project-delete-force-short-form into master 2026-04-02 16:59:48 +00:00

1 Commits

Author SHA1 Message Date
brent.edwards b4ba22cbdf fix(cli): add -f short form to project delete --force
CI / typecheck (pull_request) Failing after 2s
CI / security (pull_request) Failing after 2s
CI / quality (pull_request) Failing after 2s
CI / unit_tests (pull_request) Failing after 2s
CI / integration_tests (pull_request) Failing after 1s
CI / e2e_tests (pull_request) Failing after 2s
CI / build (pull_request) Failing after 1s
CI / helm (pull_request) Failing after 2s
CI / lint (pull_request) Successful in 3m20s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
Resolve the -f short flag conflict on `project delete` where --format
claimed -f despite the specification reserving it for --force.

Changes:
- Add -f short alias to --force on the delete command, aligning with
  the spec: `agents project delete [--force|-f] [--yes|-y] <NAME>`
- Remove -f short alias from --format on delete (keep --format long
  form only); the spec does not define --format on this command
- Update module docstring to reflect spec-aligned flag signatures
- Add BDD scenario exercising -f via CliRunner to validate the Typer
  argument parser maps -f to --force (not --format)

ISSUES CLOSED: #911
2026-04-02 06:22:21 +00:00