Searched refs:subcmds (Results 1 – 7 of 7) sorted by relevance
53 let mut subcmds: Vec<_> = subcommands_of(p) in all_subcommand_names() localVariable58 subcmds.extend(sc_v); in all_subcommand_names()60 subcmds.sort(); in all_subcommand_names()61 subcmds.dedup(); in all_subcommand_names()62 subcmds in all_subcommand_names()73 let mut subcmds: Vec<_> = subcommands_of(p); in all_subcommands() localVariable75 subcmds.extend(sc_v); in all_subcommands()77 subcmds in all_subcommands()92 let mut subcmds = vec![]; in subcommands_of() localVariable130 subcmds.push((n.to_owned(), als_bin_name.join(" "))); in subcommands_of()[all …]
71 subcmds = self.all_subcommands(), in generate_to()80 let mut subcmds = String::new(); in all_subcommands() localVariable84 subcmds = format!( in all_subcommands()89 subcmds, in all_subcommands()95 subcmds in all_subcommands()
220 let mut subcmds = vec![]; localVariable232 subcmds.push(v.join("\n"));248 subcommands = subcmds.join("\n"),
607 let subcmds = parser.has_visible_subcommands(); in write_all_args() localVariable646 if subcmds { in write_all_args()769 let subcmds = parser.has_subcommands(); in write_default_help() localVariable771 if flags || opts || pos || subcmds { in write_default_help()776 if flags || opts || pos || subcmds { in write_default_help()
1089 pub fn subcommands<I>(mut self, subcmds: I) -> Self in subcommands()1093 for subcmd in subcmds { in subcommands()
69 let mut subcmds = fields.iter().filter_map(|field| { in gen_augmentation() localVariable105 let subcmd = subcmds.next().map(|(_, ts)| ts); in gen_augmentation()106 if let Some((span, _)) = subcmds.next() { in gen_augmentation()
1565 * **AppSettings:** fixes bug where subcmds didn't receive parent ver ([a62e4527](https://github.co…1596 * **SubCommands:** fixed where subcmds weren't recognized after mult args ([c19c17a8](https://gith…1913 * allows defining hidden args and subcmds ([2cab4d03](https://github.com/kbknapp/clap-rs/commit/2…