# cmdargs
Command line argument parser for Rust.
[](https://crates.io/crates/cmdargs)
[](https://crates.io/crates/cmdargs)
[](https://docs.rs/cmdargs)
[](https://unlicense.org)
[](https://github.com/puccinia/cmdargs/graphs/contributors)
**NOTE: this library is under development and "not production ready".**
## Usage
Add the following to your Cargo.toml:
```toml
[dependencies]
cmdargs = "0.1.1"
```
Example:
```rust
use cmdargs;
fn main() {
let parser = cmdargs::parser_from_str! {"
Usage: hello-world [options]
Options:
-a, --all Print Hello World
-H, --hello Print Hello
-W, --world Print World
-h, --help Print help information
-V, --version Print version information
"};
parser.parse();
println!("Hello World!");
}
```