Debian Codegraph @

third_party/rust/clap_builder/src/builder/mod.rs

raw
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 #[cfg(feature = "unstable-ext")]
32 pub use arg::ArgExt;
33 pub use arg_group::ArgGroup;
34 pub use arg_predicate::ArgPredicate;
35 pub use command::Command;
36 pub use os_str::OsStr;
37 pub use possible_value::PossibleValue;
38 pub use range::ValueRange;
39 pub use resettable::IntoResettable;
40 pub use resettable::Resettable;
41 pub use styled_str::StyledStr;
42 pub use styling::Styles;
43 pub use value_hint::ValueHint;
44 pub use value_parser::_AutoValueParser;
45 pub use value_parser::via_prelude;
46 pub use value_parser::BoolValueParser;
47 pub use value_parser::BoolishValueParser;
48 pub use value_parser::EnumValueParser;
49 pub use value_parser::FalseyValueParser;
50 pub use value_parser::MapValueParser;
51 pub use value_parser::NonEmptyStringValueParser;
52 pub use value_parser::OsStringValueParser;
53 pub use value_parser::PathBufValueParser;
54 pub use value_parser::PossibleValuesParser;
55 pub use value_parser::RangedI64ValueParser;
56 pub use value_parser::RangedU64ValueParser;
57 pub use value_parser::StringValueParser;
58 pub use value_parser::TryMapValueParser;
59 pub use value_parser::TypedValueParser;
60 pub use value_parser::UnknownArgumentValueParser;
61 pub use value_parser::ValueParser;
62 pub use value_parser::ValueParserFactory;
63 pub use value_parser::_AnonymousValueParser;
64
65 #[allow(unused_imports)]
66 pub(crate) use self::str::Inner as StrInner;
67 pub(crate) use action::CountType;
68 pub(crate) use arg_settings::{ArgFlags, ArgSettings};
69 pub(crate) use command::AppTag;