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