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