• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //! Define [`Command`] line [arguments][`Arg`]
2 
3 mod action;
4 mod app_settings;
5 mod arg;
6 mod arg_group;
7 mod arg_predicate;
8 mod arg_settings;
9 mod command;
10 mod os_str;
11 mod possible_value;
12 mod range;
13 mod resettable;
14 mod str;
15 mod styled_str;
16 mod value_hint;
17 mod value_parser;
18 
19 #[cfg(debug_assertions)]
20 mod debug_asserts;
21 
22 #[cfg(test)]
23 mod tests;
24 
25 pub use self::str::Str;
26 pub use action::ArgAction;
27 pub use arg::Arg;
28 pub use arg_group::ArgGroup;
29 pub use arg_predicate::ArgPredicate;
30 pub use command::Command;
31 pub use os_str::OsStr;
32 pub use possible_value::PossibleValue;
33 pub use range::ValueRange;
34 pub use resettable::IntoResettable;
35 pub use resettable::Resettable;
36 pub use styled_str::StyledStr;
37 pub use value_hint::ValueHint;
38 pub use value_parser::_AutoValueParser;
39 pub use value_parser::via_prelude;
40 pub use value_parser::BoolValueParser;
41 pub use value_parser::BoolishValueParser;
42 pub use value_parser::EnumValueParser;
43 pub use value_parser::FalseyValueParser;
44 pub use value_parser::MapValueParser;
45 pub use value_parser::NonEmptyStringValueParser;
46 pub use value_parser::OsStringValueParser;
47 pub use value_parser::PathBufValueParser;
48 pub use value_parser::PossibleValuesParser;
49 pub use value_parser::RangedI64ValueParser;
50 pub use value_parser::RangedU64ValueParser;
51 pub use value_parser::StringValueParser;
52 pub use value_parser::TypedValueParser;
53 pub use value_parser::ValueParser;
54 pub use value_parser::ValueParserFactory;
55 pub use value_parser::_AnonymousValueParser;
56 
57 #[allow(unused_imports)]
58 pub(crate) use self::str::Inner as StrInner;
59 pub(crate) use action::CountType;
60 pub(crate) use arg_settings::{ArgFlags, ArgSettings};
61