Home
last modified time | relevance | path

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

1234567

/aosp_15_r20/external/autotest/site_utils/deployment/
H A Dcmdparse.py134 def _add_subcommand(subcommands, name, upload_default, description): argument
148 subparser = subcommands.add_parser(name, description=description)
160 def _add_servo_subcommand(subcommands): argument
167 subcommands, 'servo', True,
185 def _add_firmware_subcommand(subcommands): argument
192 subcommands, 'firmware', True,
204 def _add_test_image_subcommand(subcommands): argument
211 subcommands, 'test-image', True,
220 def _add_repair_subcommand(subcommands): argument
227 subcommands, 'repair', False,
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/clap/src/builder/
Dcommand.rs107 subcommands: Vec<App<'help>>, field
309 let pos = self.subcommands.iter().position(|s| s.id == id); in mut_subcommand()
312 self.subcommands.remove(idx) in mut_subcommand()
317 self.subcommands.push(f(subcmd)); in mut_subcommand()
416 self.subcommands.push(subcmd.into()); in subcommand()
435 pub fn subcommands<I, T>(mut self, subcmds: I) -> Self in subcommands() method
441 self.subcommands.push(subcmd.into()); in subcommands()
3468 self.subcommands.iter() in get_subcommands()
3474 self.subcommands.iter_mut() in get_subcommands_mut()
3480 !self.subcommands.is_empty() in has_subcommands()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/clap_builder/src/builder/
Dcommand.rs100 subcommands: Vec<Command>, field
374 let pos = self.subcommands.iter().position(|s| s.name == name); in mut_subcommand()
377 self.subcommands.remove(idx) in mut_subcommand()
382 self.subcommands.push(f(subcmd)); in mut_subcommand()
490 self.subcommands.push(subcmd); in subcommand_internal()
510 pub fn subcommands(mut self, subcmds: impl IntoIterator<Item = impl Into<Self>>) -> Self { in subcommands() method
3580 self.subcommands.iter() in get_subcommands()
3586 self.subcommands.iter_mut() in get_subcommands_mut()
3592 !self.subcommands.is_empty() in has_subcommands()
3754 for idx in 0..self.subcommands.len() { in get_subcommands_containing()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.2/src/builder/
H A Dcommand.rs100 subcommands: Vec<Command>, field
374 let pos = self.subcommands.iter().position(|s| s.name == name); in mut_subcommand()
377 self.subcommands.remove(idx) in mut_subcommand()
382 self.subcommands.push(f(subcmd)); in mut_subcommand()
490 self.subcommands.push(subcmd); in subcommand_internal()
510 pub fn subcommands(mut self, subcmds: impl IntoIterator<Item = impl Into<Self>>) -> Self { in subcommands() method
3580 self.subcommands.iter() in get_subcommands()
3586 self.subcommands.iter_mut() in get_subcommands_mut()
3592 !self.subcommands.is_empty() in has_subcommands()
3754 for idx in 0..self.subcommands.len() { in get_subcommands_containing()
[all …]
/aosp_15_r20/system/extras/torq/
H A Dtorq.py136 if (args.subcommands is not None and
303 if args.subcommands == "config" and args.config_subcommand is None:
318 if args.subcommands == "config" and args.config_subcommand == "pull":
330 if args.subcommands == "open" and not path_exists(args.file_path):
377 if args.subcommands is None:
379 if args.subcommands == "config":
381 if args.subcommands == "open":
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap-4.5.4/examples/
H A 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…
/aosp_15_r20/external/rust/android-crates-io/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…
/aosp_15_r20/external/rust/android-crates-io/extra_versions/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)*
84 …OTE:** Keep in mind that subcommands, flags, and long flags are *case sensitive*: `-Q` and `-q` ar…
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_internal/cli/
Dautocompletion.py28 subcommands = list(commands_dict)
34 if word in subcommands:
108 subcommands += opt._long_opts + opt._short_opts
113 subcommands = list(auto_complete_paths(current, completion_type))
115 print(" ".join([x for x in subcommands if x.startswith(current)]))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_internal/cli/
Dautocompletion.py28 subcommands = list(commands_dict)
34 if word in subcommands:
108 subcommands += opt._long_opts + opt._short_opts
113 subcommands = list(auto_complete_paths(current, completion_type))
115 print(" ".join([x for x in subcommands if x.startswith(current)]))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_internal/cli/
Dautocompletion.py28 subcommands = list(commands_dict)
34 if word in subcommands:
108 subcommands += opt._long_opts + opt._short_opts
113 subcommands = list(auto_complete_paths(current, completion_type))
115 print(" ".join([x for x in subcommands if x.startswith(current)]))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_internal/cli/
Dautocompletion.py28 subcommands = list(commands_dict)
34 if word in subcommands:
108 subcommands += opt._long_opts + opt._short_opts
113 subcommands = list(auto_complete_paths(current, completion_type))
115 print(" ".join([x for x in subcommands if x.startswith(current)]))
/aosp_15_r20/external/rust/android-crates-io/crates/clap_derive/src/derives/
Dsubcommand.rs147 let mut subcommands = Vec::new(); in gen_augment() localVariable
341 subcommands.push(genned); in gen_augment()
354 #( #subcommands )*; in gen_augment()
383 let subcommands = variants.iter().map(|(_variant, item)| { in gen_has_subcommand() localVariable
413 #( #subcommands )* in gen_has_subcommand()
491 let subcommands = unflatten_variants.iter().map(|(variant, item)| { in gen_from_arg_matches() localVariable
564 #( #subcommands )* in gen_from_arg_matches()
596 let subcommands = variants.iter().map(|(variant, item)| { in gen_update_from_arg_matches() localVariable
664 #( #subcommands ),* in gen_update_from_arg_matches()
/aosp_15_r20/prebuilts/rust/darwin-x86/1.81.0/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/windows-x86/1.80.1/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/windows-x86/1.81.0/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/prebuilts/rust/darwin-x86/1.80.1/share/doc/cargo/
H A DREADME.md77 ## Adding new subcommands to Cargo
79 Cargo is designed to be extensible with new subcommands without having to modify
80 Cargo itself. See [the Wiki page][third-party-subcommands] for more details and
81 a list of known community-developed subcommands.
83 [third-party-subcommands]: https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands
/aosp_15_r20/external/rust/android-crates-io/crates/argh/src/
Dlib.rs1073 pub subcommands: &'static [&'static CommandInfo], field
1090 for subcommand in self.subcommands.iter().chain(self.dynamic_subcommands.iter()) { in parse()
1136 subcommands: Option<Vec<&'static CommandInfo>>, field
1152 self.subcommands = Some(commands.collect()); in missing_subcommands()
1165 if self.options.is_empty() && self.subcommands.is_none() && self.positional_args.is_empty() in err_on_any()
1191 if let Some(missing_subcommands) = &self.subcommands { in err_on_any()
/aosp_15_r20/external/python/cpython3/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")
/aosp_15_r20/external/openthread/tools/tcat_ble_client/cli/
H A Dcli.py81 subcommands = words[1:]
83 subcommands = words[1:-1]
84 for nextarg in subcommands:

1234567