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 ext; |
11 | mod os_str; |
12 | mod possible_value; |
13 | mod range; |
14 | mod resettable; |
15 | mod str; |
16 | mod styled_str; |
17 | mod value_hint; |
18 | mod value_parser; |
19 | |
20 | #[cfg (debug_assertions)] |
21 | mod debug_asserts; |
22 | |
23 | #[cfg (test)] |
24 | mod tests; |
25 | |
26 | pub mod styling; |
27 | |
28 | pub use self::str::Str; |
29 | pub use action::ArgAction; |
30 | pub use arg::Arg; |
31 | pub use arg_group::ArgGroup; |
32 | pub use arg_predicate::ArgPredicate; |
33 | pub use command::Command; |
34 | pub use os_str::OsStr; |
35 | pub use possible_value::PossibleValue; |
36 | pub use range::ValueRange; |
37 | pub use resettable::IntoResettable; |
38 | pub use resettable::Resettable; |
39 | pub use styled_str::StyledStr; |
40 | pub use styling::Styles; |
41 | pub use value_hint::ValueHint; |
42 | pub use value_parser::_AutoValueParser; |
43 | pub use value_parser::via_prelude; |
44 | pub use value_parser::BoolValueParser; |
45 | pub use value_parser::BoolishValueParser; |
46 | pub use value_parser::EnumValueParser; |
47 | pub use value_parser::FalseyValueParser; |
48 | pub use value_parser::MapValueParser; |
49 | pub use value_parser::NonEmptyStringValueParser; |
50 | pub use value_parser::OsStringValueParser; |
51 | pub use value_parser::PathBufValueParser; |
52 | pub use value_parser::PossibleValuesParser; |
53 | pub use value_parser::RangedI64ValueParser; |
54 | pub use value_parser::RangedU64ValueParser; |
55 | pub use value_parser::StringValueParser; |
56 | pub use value_parser::TryMapValueParser; |
57 | pub use value_parser::TypedValueParser; |
58 | pub use value_parser::UnknownArgumentValueParser; |
59 | pub use value_parser::ValueParser; |
60 | pub use value_parser::ValueParserFactory; |
61 | pub use value_parser::_AnonymousValueParser; |
62 | |
63 | #[allow (unused_imports)] |
64 | pub(crate) use self::str::Inner as StrInner; |
65 | pub(crate) use action::CountType; |
66 | pub(crate) use arg_settings::{ArgFlags, ArgSettings}; |
67 | pub(crate) use command::AppTag; |
68 | |