Debian Codegraph @

debian/rust-vendor/clap_builder/src/parser/mod.rs

raw
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::{MatchedArg, SubCommand};
14 pub(crate) use self::parser::Identifier;
15 pub(crate) use self::parser::Parser;
16 pub(crate) use self::parser::PendingArg;
17 pub(crate) use self::validator::Validator;
18 pub(crate) use self::validator::get_possible_values_cli;
19
20 pub use self::matches::IdsRef;
21 pub use self::matches::RawValues;
22 pub use self::matches::Values;
23 pub use self::matches::ValuesRef;
24 pub use self::matches::{ArgMatches, Indices, ValueSource};
25 pub use error::MatchesError;