pub fn run() -> i32Expand description
Parse std::env::args() and dispatch into the matched
subcommand. Returns the process exit code the binary should
propagate to the OS.
On argument-parse failure clap exits the process with code 2 by
default; we override clap::Error::exit_code indirectly via
the [Cli::try_parse] path so the binary’s main can translate
it into the canonical “3 = argument error” exit-code documented
at the top of this module.
Power-of-ten Rule 4 — run itself is short; each subcommand
handler lives in its own helper. Rule 7 — every fallible call
is matched or ?-propagated; no unwrap on the path.