Home
last modified time | relevance | path

Searched refs:subcommands (Results 1 – 25 of 65) sorted by relevance

123

/third_party/rust/crates/clap/clap_complete_fig/tests/snapshots/
Dsub_subcommands.fig.js4 subcommands: [ property
31 subcommands: [ property
61 subcommands: [ property
87 subcommands: [ property
95 subcommands: [ property
Dbasic.fig.js4 subcommands: [ property
25 subcommands: [ property
Dfeature_sample.fig.js4 subcommands: [ property
31 subcommands: [ property
Dspecial_commands.fig.js4 subcommands: [ property
88 subcommands: [ property
Dquoting.fig.js4 subcommands: [ property
68 subcommands: [ property
/third_party/rust/crates/clap/examples/
Dpacman.md1 [`pacman`](https://wiki.archlinux.org/index.php/pacman) defines subcommands via flags.
33 *(users can "stack" short subcommands with short flags or with other short flag subcommands)*
78 …OTE:** Keep in mind that subcommands, flags, and long flags are *case sensitive*: `-Q` and `-q` ar…
Dmulticall-busybox.rs30 .subcommands(applet_commands()), in main()
32 .subcommands(applet_commands()); in main()
Dmulticall-busybox.md16 for the main program to take arguments that aren't applet subcommands.
36 --install <install> Install hardlinks for all subcommands in path
/third_party/rust/crates/clap/src/builder/
Dcommand.rs100 subcommands: Vec<Command>, field
285 let pos = self.subcommands.iter().position(|s| s.name == name); in mut_subcommand()
288 self.subcommands.remove(idx) in mut_subcommand()
293 self.subcommands.push(f(subcmd)); in mut_subcommand()
398 self.subcommands.push(subcmd); in subcommand_internal()
417 pub fn subcommands(mut self, subcmds: impl IntoIterator<Item = impl Into<Self>>) -> Self { in subcommands() method
3373 self.subcommands.iter() in get_subcommands()
3379 self.subcommands.iter_mut() in get_subcommands_mut()
3385 !self.subcommands.is_empty() in has_subcommands()
3547 for idx in 0..self.subcommands.len() { in get_subcommands_containing()
[all …]
/third_party/python/Tools/peg_generator/scripts/
Dbenchmark.py32 subcommands = argparser.add_subparsers(title="Benchmarks", dest="subcommand") variable
33 command_compile = subcommands.add_parser(
36 command_parse = subcommands.add_parser("parse", help="Benchmark parsing and generating an ast.AST")
/third_party/rust/crates/clap/tests/derive/
Dprivacy.rs21 pub subcommand: super::subcommands::SubCommand,
25 mod subcommands { module
Dmain.rs32 mod subcommands; module
/third_party/rust/crates/clap/clap_derive/src/derives/
Dsubcommand.rs134 let subcommands: Vec<_> = variants in gen_augment() localVariable
352 #( #subcommands )*; in gen_augment()
381 let subcommands = variants.iter().map(|(_variant, item)| { in gen_has_subcommand() localVariable
410 #( #subcommands )* in gen_has_subcommand()
486 let subcommands = variants.iter().map(|(variant, item)| { in gen_from_arg_matches() localVariable
566 #( #subcommands )* in gen_from_arg_matches()
598 let subcommands = variants.iter().map(|(variant, item)| { in gen_update_from_arg_matches() localVariable
673 #( #subcommands ),* in gen_update_from_arg_matches()
/third_party/node/deps/npm/lib/
Daccess.js32 access.subcommands = [
52 return cb(null, access.subcommands)
79 const fn = access.subcommands.includes(cmd) && access[cmd]
Dorg.js12 org.subcommands = ['set', 'rm', 'ls']
29 return cb(null, org.subcommands)
Dteam.js13 team.subcommands = ['create', 'destroy', 'add', 'rm', 'ls', 'edit']
39 return cb(null, team.subcommands)
/third_party/rust/crates/clap/clap_complete/src/generator/
Dutils.rs10 let mut subcmds: Vec<_> = subcommands(cmd); in all_subcommands()
36 pub fn subcommands(p: &Command) -> Vec<(String, String)> { in subcommands() function
175 subcommands(&cmd), in test_subcommands()
/third_party/rust/crates/clap/
DCHANGELOG.md36 - *(error)* When suggesting one of several subcommands, use the plural `subcommands`, rather than `…
71 - *(derive)* Allow `upgrade_from` when arguments / subcommands are explicitly marked as required
123 - *(error)* Report available subcommands when required subcommand is missing
347 - Focus is put on the subcommands
349 - The more general term "command" is used rather than being explicit about being "subcommands"
463 - *(parser)* Always fill in `""` argument for external subcommands to make it easier to distinguish…
471 - *(help)* "Command" is used as the section heading for subcommands and `COMMAND` for the value nam…
495 built-in flags and be copied to all subcommands, instead disable
504 - Removed `PartialEq` and `Eq` from `Command` so we could change external subcommands to use a `Val…
514 …ad of `SubcommandRequiredElseHelp` to give more meaningful errors when subcommands are missing and…
[all …]
DREADME.OpenSource9 …"Description": "A command-line argument parsing library for Rust that supports subcommands and com…
/third_party/rust/crates/clap/src/parser/features/
Dsuggestions.rs42 subcommands: impl IntoIterator<Item = &'a mut Command>, in did_you_mean_flag()
53 None => subcommands in did_you_mean_flag()
/third_party/rust/crates/clap/tests/builder/
Dderive_order.rs273 .subcommands(vec![ in subcommand_sorted_display_order()
305 let app_subcmd_decl_order = Command::new("test").version("1").subcommands(vec![ in subcommand_derived_display_order()
Dmain.rs42 mod subcommands; module
Dsubcommands.rs52 .subcommands(vec![ in subcommand_multiple()
448 .subcommand(Command::new("busybox").subcommands(applet_commands())) in busybox_like_multicall()
449 .subcommands(applet_commands()); in busybox_like_multicall()
/third_party/rust/crates/clap/examples/derive_ref/
Dinterop_tests.md56 Derived subcommands: Derived {
64 Derived subcommands: Derived {
/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs50 subcommands = get_subcommands_of(cmd), in generate()
223 let subcommand_names = utils::subcommands(parent);
272 subcommands = all_subcommands.join("\n"),

123