/third_party/rust/crates/clap/clap_complete/examples/ |
H A D | completion.rs | 25 .value_hint(ValueHint::Unknown), in build_cli() 27 .arg(Arg::new("other").long("other").value_hint(ValueHint::Other)) in build_cli() 32 .value_hint(ValueHint::AnyPath), in build_cli() 38 .value_hint(ValueHint::FilePath), in build_cli() 44 .value_hint(ValueHint::DirPath), in build_cli() 50 .value_hint(ValueHint::ExecutablePath), in build_cli() 55 .value_hint(ValueHint::CommandName), in build_cli() 61 .value_hint(ValueHint::CommandString), in build_cli() 68 .value_hint(ValueHint::CommandWithArguments), in build_cli() 74 .value_hint(ValueHin in build_cli() [all...] |
H A D | completion-derive.rs | 40 #[arg(long, value_hint = ValueHint::Unknown)] 42 #[arg(long, value_hint = ValueHint::Other)] 44 #[arg(short, long, value_hint = ValueHint::AnyPath)] 46 #[arg(short, long, value_hint = ValueHint::FilePath)] 48 #[arg(short, long, value_hint = ValueHint::DirPath)] 50 #[arg(short, long, value_hint = ValueHint::ExecutablePath)] 52 #[arg(long, value_hint = ValueHint::CommandName)] 54 #[arg(short, long, value_hint = ValueHint::CommandString)] 57 #[arg(trailing_var_arg = true, value_hint = ValueHint::CommandWithArguments)] 59 #[arg(short, long, value_hint [all...] |
H A D | dynamic.rs | 10 .value_hint(clap::ValueHint::FilePath), in command()
|
/third_party/rust/crates/clap/src/builder/ |
H A D | mod.rs | 16 mod value_hint; modules 37 pub use value_hint::ValueHint;
|
H A D | arg.rs | 85 pub(crate) value_hint: Option<ValueHint>, 1237 /// .value_hint(ValueHint::Username); 1250 /// .value_hint(ValueHint::CommandWithArguments) 1254 pub fn value_hint(mut self, value_hint: impl IntoResettable<ValueHint>) -> Self { in value_hint() functions 1255 self.value_hint = value_hint.into_resettable().into_option(); in value_hint() 3877 self.value_hint.unwrap_or_else(|| { in get_value_hint() 4307 .field("value_hint", &self.value_hint) in fmt() [all...] |
/third_party/rust/crates/clap/clap_complete_fig/tests/ |
H A D | fig.rs | 76 fn value_hint() { in value_hint() functions 80 "tests/snapshots/value_hint.fig.js", in value_hint()
|
H A D | common.rs | 31 .value_hint(clap::ValueHint::FilePath) in basic_command() 177 .value_hint(clap::ValueHint::Unknown), in basic_command() 182 .value_hint(clap::ValueHint::Other), in basic_command() 188 .value_hint(clap::ValueHint::AnyPath), in basic_command() 194 .value_hint(clap::ValueHint::FilePath), in basic_command() 200 .value_hint(clap::ValueHint::DirPath), in basic_command() 206 .value_hint(clap::ValueHint::ExecutablePath), in basic_command() 211 .value_hint(clap::ValueHint::CommandName), in basic_command() 217 .value_hint(clap::ValueHint::CommandString), in basic_command() 224 .value_hint(cla in basic_command() [all...] |
/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | powershell.rs | 76 fn value_hint() { in value_hint() functions 80 "tests/snapshots/value_hint.ps1", in value_hint()
|
H A D | elvish.rs | 76 fn value_hint() { in value_hint() functions 80 "tests/snapshots/value_hint.elvish", in value_hint()
|
H A D | fish.rs | 76 fn value_hint() { in value_hint() functions 80 "tests/snapshots/value_hint.fish", in value_hint()
|
H A D | zsh.rs | 76 fn value_hint() { in value_hint() functions 80 "tests/snapshots/value_hint.zsh", in value_hint()
|
H A D | bash.rs | 76 fn value_hint() { in value_hint() functions 80 "tests/snapshots/value_hint.bash", in value_hint()
|
H A D | common.rs | 33 .value_hint(clap::ValueHint::FilePath) in basic_command() 182 .value_hint(clap::ValueHint::Unknown), in basic_command() 187 .value_hint(clap::ValueHint::Other), in basic_command() 193 .value_hint(clap::ValueHint::AnyPath), in basic_command() 199 .value_hint(clap::ValueHint::FilePath), in basic_command() 205 .value_hint(clap::ValueHint::DirPath), in basic_command() 211 .value_hint(clap::ValueHint::ExecutablePath), in basic_command() 216 .value_hint(clap::ValueHint::CommandName), in basic_command() 222 .value_hint(clap::ValueHint::CommandString), in basic_command() 229 .value_hint(cla in basic_command() [all...] |
/third_party/rust/crates/clap/clap_mangen/tests/ |
H A D | roff.rs | 46 fn value_hint() { in value_hint() functions 49 common::assert_matches_path("tests/snapshots/value_hint.bash.roff", cmd); in value_hint()
|
H A D | common.rs | 33 .value_hint(clap::ValueHint::FilePath) in basic_command() 175 .value_hint(clap::ValueHint::Unknown), in basic_command() 180 .value_hint(clap::ValueHint::Other), in basic_command() 186 .value_hint(clap::ValueHint::AnyPath), in basic_command() 192 .value_hint(clap::ValueHint::FilePath), in basic_command() 198 .value_hint(clap::ValueHint::DirPath), in basic_command() 204 .value_hint(clap::ValueHint::ExecutablePath), in basic_command() 209 .value_hint(clap::ValueHint::CommandName), in basic_command() 215 .value_hint(clap::ValueHint::CommandString), in basic_command() 222 .value_hint(cla in basic_command() [all...] |
/third_party/rust/crates/clap/examples/ |
H A D | typed-derive.rs | 13 #[arg(short = 'I', value_name = "DIR", value_hint = clap::ValueHint::DirPath)]
|