1 //! [`Command`][crate::Command] line argument parser 2 3 mod arg_matcher; 4 mod error; 5 mod matches; 6 #[allow(clippy::module_inception)] 7 mod parser; 8 mod validator; 9 10 pub(crate) mod features; 11 12 pub(crate) use self::arg_matcher::ArgMatcher; 13 pub(crate) use self::matches::AnyValue; 14 pub(crate) use self::matches::AnyValueId; 15 pub(crate) use self::matches::{MatchedArg, SubCommand}; 16 pub(crate) use self::parser::Identifier; 17 pub(crate) use self::parser::PendingArg; 18 pub(crate) use self::parser::{ParseState, Parser}; 19 pub(crate) use self::validator::get_possible_values_cli; 20 pub(crate) use self::validator::Validator; 21 22 pub use self::matches::IdsRef; 23 pub use self::matches::RawValues; 24 pub use self::matches::Values; 25 pub use self::matches::ValuesRef; 26 pub use self::matches::{ArgMatches, Indices, ValueSource}; 27 pub use error::MatchesError; 28