• Home
  • Raw
  • Download

Lines Matching refs:subcommands

100     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()
3548 if self.subcommands[idx] in get_subcommands_containing()
3553 vec.push(&self.subcommands[idx]); in get_subcommands_containing()
3554 vec.append(&mut self.subcommands[idx].get_subcommands_containing(arg)); in get_subcommands_containing()
3943 let sc = some!(self.subcommands.iter_mut().find(|s| s.name == name)); in _build_subcommand()
4037 for mut sc in &mut self.subcommands { in _build_bin_names_internal()
4143 for sub_app in &self.subcommands { in _panic_on_missing_help()
4171 for sc in &mut self.subcommands { in _propagate_global_args()
4203 let mut subcommands = std::mem::take(&mut self.subcommands); in _propagate() localVariable
4204 for sc in &mut subcommands { in _propagate()
4207 self.subcommands = subcommands; in _propagate()
4276 .subcommands(self.get_subcommands().map(Command::_copy_subtree_for_help)); in _check_help_and_version()
4306 self.subcommands.push(help_subcmd); in _check_help_and_version()
4315 .subcommands(self.get_subcommands().map(Command::_copy_subtree_for_help)); in _copy_subtree_for_help()
4403 self.subcommands in has_visible_subcommands()
4654 subcommands: Default::default(), in default()