/third_party/rust/crates/clap/clap_complete/examples/ |
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(ValueHint::Username), in build_cli() [all …]
|
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 = ValueHint::Username)] [all …]
|
D | dynamic.rs | 10 .value_hint(clap::ValueHint::FilePath), in command()
|
/third_party/rust/crates/clap/clap_complete_fig/tests/ |
D | common.rs | 31 .value_hint(clap::ValueHint::FilePath) in feature_sample_command() 177 .value_hint(clap::ValueHint::Unknown), in value_hint_command() 182 .value_hint(clap::ValueHint::Other), in value_hint_command() 188 .value_hint(clap::ValueHint::AnyPath), in value_hint_command() 194 .value_hint(clap::ValueHint::FilePath), in value_hint_command() 200 .value_hint(clap::ValueHint::DirPath), in value_hint_command() 206 .value_hint(clap::ValueHint::ExecutablePath), in value_hint_command() 211 .value_hint(clap::ValueHint::CommandName), in value_hint_command() 217 .value_hint(clap::ValueHint::CommandString), in value_hint_command() 224 .value_hint(clap::ValueHint::CommandWithArguments), in value_hint_command() [all …]
|
D | fig.rs | 76 fn value_hint() { in value_hint() function
|
/third_party/rust/crates/clap/clap_complete/tests/ |
D | common.rs | 33 .value_hint(clap::ValueHint::FilePath) in feature_sample_command() 182 .value_hint(clap::ValueHint::Unknown), in value_hint_command() 187 .value_hint(clap::ValueHint::Other), in value_hint_command() 193 .value_hint(clap::ValueHint::AnyPath), in value_hint_command() 199 .value_hint(clap::ValueHint::FilePath), in value_hint_command() 205 .value_hint(clap::ValueHint::DirPath), in value_hint_command() 211 .value_hint(clap::ValueHint::ExecutablePath), in value_hint_command() 216 .value_hint(clap::ValueHint::CommandName), in value_hint_command() 222 .value_hint(clap::ValueHint::CommandString), in value_hint_command() 229 .value_hint(clap::ValueHint::CommandWithArguments), in value_hint_command() [all …]
|
D | elvish.rs | 76 fn value_hint() { in value_hint() function
|
D | fish.rs | 76 fn value_hint() { in value_hint() function
|
D | zsh.rs | 76 fn value_hint() { in value_hint() function
|
D | powershell.rs | 76 fn value_hint() { in value_hint() function
|
D | bash.rs | 76 fn value_hint() { in value_hint() function
|
/third_party/rust/crates/clap/clap_mangen/tests/ |
D | common.rs | 33 .value_hint(clap::ValueHint::FilePath) in feature_sample_command() 175 .value_hint(clap::ValueHint::Unknown), in value_hint_command() 180 .value_hint(clap::ValueHint::Other), in value_hint_command() 186 .value_hint(clap::ValueHint::AnyPath), in value_hint_command() 192 .value_hint(clap::ValueHint::FilePath), in value_hint_command() 198 .value_hint(clap::ValueHint::DirPath), in value_hint_command() 204 .value_hint(clap::ValueHint::ExecutablePath), in value_hint_command() 209 .value_hint(clap::ValueHint::CommandName), in value_hint_command() 215 .value_hint(clap::ValueHint::CommandString), in value_hint_command() 222 .value_hint(clap::ValueHint::CommandWithArguments), in value_hint_command() [all …]
|
D | roff.rs | 46 fn value_hint() { in value_hint() function
|
/third_party/rust/crates/clap/src/builder/ |
D | mod.rs | 16 mod value_hint; module 37 pub use value_hint::ValueHint;
|
D | arg.rs | 85 pub(crate) value_hint: Option<ValueHint>, field 1254 pub fn value_hint(mut self, value_hint: impl IntoResettable<ValueHint>) -> Self { in value_hint() method 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()
|
/third_party/rust/crates/clap/examples/ |
D | typed-derive.rs | 13 #[arg(short = 'I', value_name = "DIR", value_hint = clap::ValueHint::DirPath)]
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 231 - Allow using `Arg::last(true)` with `Arg::value_hint(ValueHint::CommandWithArguments)` 1408 - Give completion scripts hints with `Arg::value_hint` ([clap-rs/clap#1793](https://github.com/clap…
|