arguments 0.6.2

The package provides a parser for command-line arguments.
Documentation

Arguments Version Status

The package provides a parser for command-line arguments.

Documentation

Example

let arguments = std::env::args(); // foo --no-bar --baz 42 --qux 'To be?'
let arguments = arguments::parse(arguments).unwrap();

println!("Foo: {}", arguments.program);
println!("Bar: {}", arguments.get::<bool>("bar").unwrap());
println!("Baz: {}", arguments.get::<usize>("baz").unwrap());
println!("Qux: {}", arguments.get::<String>("qux").unwrap());

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.