A compiled CLI parser for Rust.
usage-rs is the crate to depend on. It re-exports the derive macros from
usage-derive and the runtime from [usage_argv], and gates the cold-path
features — spec emission, help rendering, completions, rich diagnostics —
behind cargo features so a binary only carries what it uses.
Status
Reserved and empty. See PROGRESS.md for what exists and what is next.
Features
spec(default) — emit the CLI's usage spec as KDL, the input tousage g markdown|manpage|jsonand to the completion engine.help(default) — render--helpfrom the emitted spec.completions— generate shell completion scripts and serve completion requests from the binary itself, with no separateusageinstall.diagnostics— re-parse a failed command line to produce suggestions and usage output. A successful parse never enters this code.