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. |
||
|---|---|---|
| .. | ||
| defaults | ||
| schema | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| config.example.jsonl | ||