pub fn parse(def: &CommandDef, args: &[String]) -> Result<ParseResult, CliError>Expand description
Parse command-line arguments against a command definition.
This is the main entry point. It walks argv left-to-right, matches
subcommands and flags against the static CommandDef, and returns
a ParseResult with all parsed values.