use argue::{app, Argument, ArgumentType};
fn main() {
let arguments = &[
Argument::new(
ArgumentType::Paired(false),
&["-j", "-jthreads"],
"Set the number of threads"
),
];
let arg_parser = app("Example0")
.description("An example of the arg parser")
.version("0.0.1")
.arguments(arguments)
.build();
let n = arg_parser.get("-j").unwrap();
println!("Number of cores: {}", n);
}