Skip to content

Migrate CLI argument parsing to clap#38

Merged
hex2dec merged 1 commit intomainfrom
feat/issue-34-clap-parser
Mar 20, 2026
Merged

Migrate CLI argument parsing to clap#38
hex2dec merged 1 commit intomainfrom
feat/issue-34-clap-parser

Conversation

@hex2dec
Copy link
Copy Markdown
Owner

@hex2dec hex2dec commented Mar 20, 2026

Summary

  • migrate leaf command argument parsing in src/cli.rs from the hand-written parser to clap
  • preserve the existing command hierarchy, flag names, request construction, and usage/error behavior covered by the current CLI tests
  • keep top-level help and subcommand dispatch explicit so the command contract remains stable while the parsing internals change

Validation

  • cargo test
  • cargo fmt -- --check
  • cargo clippy --all-targets --all-features -- -D warnings

Closes #34

@hex2dec hex2dec merged commit 60ac3d3 into main Mar 20, 2026
@hex2dec hex2dec deleted the feat/issue-34-clap-parser branch March 20, 2026 11:08
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.

Migrate CLI argument parsing to clap without changing command contracts

1 participant