Home
last modified time | relevance | path

Searched refs:all_subcommands (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs109 let mut all_subcommands = utils::all_subcommands(p); in subcommand_details() localVariable
111 all_subcommands.sort(); in subcommand_details()
112 all_subcommands.dedup(); in subcommand_details()
114 for &(_, ref bin_name) in &all_subcommands { in subcommand_details()
224 let mut all_subcommands = vec![]; localVariable
251 all_subcommands.push(segments.join("\n"));
272 subcommands = all_subcommands.join("\n"),
Dbash.rs67 subcmds = all_subcommands(cmd), in generate()
75 fn all_subcommands(cmd: &Command) -> String { in all_subcommands() function
130 let mut scs = utils::all_subcommands(cmd) in subcommand_details()
/third_party/rust/crates/clap/clap_complete/src/generator/
Dutils.rs9 pub fn all_subcommands(cmd: &Command) -> Vec<(String, String)> { in all_subcommands() function
12 for sc_v in cmd.get_subcommands().map(all_subcommands) { in all_subcommands()
189 all_subcommands(&cmd), in test_all_subcommands()
/third_party/rust/crates/clap/clap_complete/src/
Ddynamic.rs542 let mut scs = crate::generator::utils::all_subcommands(cmd) in complete_subcommand()