A minimal and flexible argument parser for command-line applications, written in Rust.
- Simple parsing of flags, options, and positional arguments
- Convenient trait-based API for extracting values
- Supports
--, short-fand long--flagforms - Works with slices of
&str(no global state)
Add to your Cargo.toml:
[dependencies]
argsparse = "0.1"