Busca en todas las páginas de la documentación
10 pages in this section.
The mental model behind idiomatic Rust CLIs - declarative argument parsing with clap, exit codes as a contract with the shell, and ownership concerns in terminal I/O.
Anatomy of a good Rust CLI.
Derive-based args, subcommands, and validation.
Layering flags, env vars, and config files.
`indicatif` progress bars and colored output.
Interactive terminal user interfaces.
`anyhow`/`miette` for friendly CLI errors.
Generating from your `clap` definitions.
`cargo-dist`, binaries, and installers.
Discoverable, scriptable, fast tools.