switch CLI argument parsing to Clap derive
Replace hand-rolled argument parsing (match on args[1], manual iteration over &[String]) with Clap's derive macros. All 60+ subcommands now have typed arguments with defaults, proper help text, and error messages generated automatically. The 83-line usage() function is eliminated — Clap generates help from the struct annotations. Nested subcommands (digest daily/ weekly/monthly/auto, journal-tail --level) use Clap's subcommand nesting naturally.
This commit is contained in:
parent
d5634c0034
commit
e24dee6bdf
1 changed files with 722 additions and 624 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue