appcore-args
#######
### ###
## ## ## ##
## ##
## ## ## ##
###########
Author: dnettoRaw
Dependency-free, cross-platform command-line parsing, help, validation and shell completion primitives for AppCore executables.
The crate has independent SemVer, no dependencies and can be consumed by any Rust executable without the AppCore Runtime.
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, the minimal example and the intermediate example. API documentation is available on docs.rs.
License: MIT.