1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#![crate_name = "argparse"]
#![crate_type = "lib"]

pub use self::parser::{ArgumentParser, Ref};

pub mod action;
pub mod parser;
mod generic;
mod help;

mod bool;
mod num;

// TODO(tailhook) make consts
pub struct StoreTrue;
pub struct StoreFalse;

pub struct StoreConst<T>(pub T);

pub struct PushConst<T>(pub T);

pub struct Store;

pub struct StoreOption;

pub struct List;

pub struct Collect;

pub struct IncrBy<T>(pub T);

pub struct DecrBy<T>(pub T);


#[cfg(test)] mod test_parser;
#[cfg(test)] mod test_bool;
#[cfg(test)] mod test_int;
#[cfg(test)] mod test_float;
#[cfg(test)] mod test_str;
#[cfg(test)] mod test_enum;
#[cfg(test)] mod test_pos;
#[cfg(test)] mod test_many;
#[cfg(test)] mod test_optional;
#[cfg(test)] mod test_usage;
#[cfg(test)] mod test_help;
#[cfg(test)] mod test_env;
#[cfg(test)] mod test_const;