Skip to content

fix(auths-cli): rename global --output to --format#43

Merged
bordumb merged 1 commit intomainfrom
fix/cli-format-flag-consistency
Mar 7, 2026
Merged

fix(auths-cli): rename global --output to --format#43
bordumb merged 1 commit intomainfrom
fix/cli-format-flag-consistency

Conversation

@bordumb
Copy link
Contributor

@bordumb bordumb commented Mar 7, 2026

Summary

  • Renamed global --output flag to --format to resolve clap panic when subcommands (git allowed-signers, id export-bundle) also define --output for file paths
  • Updated all references in main.rs, factories/mod.rs, and README docs
  • Removed stale workaround comments from git.rs and identity.rs

Test plan

  • All 142 CLI tests pass
  • auths audit --help, auths key export --help, auths git allowed-signers --help all render without panic
  • Pre-push hooks pass (fmt, clippy, tests, wasm, cross-compile)

🤖 Generated with Claude Code

…ision with subcommand --output flags

The global OutputFormat flag (text/json) was named --output, which collided with
subcommand --output flags used for file paths (git allowed-signers -o, id export-bundle -o),
causing clap to panic at runtime. Renamed to --format and updated all references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auths Building Building Preview, Comment Mar 7, 2026 3:11am

@bordumb bordumb merged commit cdc3568 into main Mar 7, 2026
6 of 8 checks passed
@bordumb bordumb deleted the fix/cli-format-flag-consistency branch March 7, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant