appcore-args
Dependency-free, cross-platform command-line parsing, help, validation and shell completion primitives for AppCore executables.
appcore-args provides nested commands, inherited options, typed and bounded
arguments, deterministic errors, generated help, completion candidates and
dynamic completion scripts for Bash, Zsh, Fish and PowerShell. It executes no
Runtime behavior and uses no unsafe code.
use ;
let spec = new
.option
.command;
let parsed = new
.parse?;
assert_eq!;
assert!;
# Ok::
See the English guide and examples. API documentation is available on docs.rs.
License: MIT.