bene
Bene is a library for parsing command line arguments efficiently and elegantly.
Example:
The command line arguments:
-f 30 --length 5 --lib
Would be parsed as:
let mut frames: usize = 30;
let mut length = 3; // inferred i32
let mut lib = false; // non valued flags are treated as booleans
// let input = "-f 30 --length 5 --lib"
new
.arg
.arg
.arg // case sensitive!
.process;
assert_eq!;
assert_eq!;
assert_eq!;