blarg 1.0.4

A type-safe, domain sensitive, argument/option paradigm command line parser.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use blarg::{derive::*, CommandLineParser, Optional, Parameter, Scalar};

#[test]
fn builder_compiles() {
    CommandLineParser::new("organization");
}

#[derive(Default, BlargParser)]
struct Boo {
    asdf: Option<usize>,
    a: usize,
}

#[test]
#[ignore]
fn derive_compiles() {
    Boo::blarg_parse();
}