Todo CLI in Rust 4. Building the CLI with clap: typed parsing, subcommands and dual output
·23 mins
We design the CLI layer with clap derive, typed argument parsing with ValueEnum and FromStr for UUIDs, subcommands as enums, global –output flag for dual table/json output, and errors propagated through layers down to stderr.