Home
last modified time | relevance | path

Searched refs:parent_commands (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dfish.rs41 parent_commands: &[&str], in gen_fish_inner()
61 if parent_commands.is_empty() { in gen_fish_inner()
69 parent_commands in gen_fish_inner()
83 debug!("gen_fish_inner: parent_commands={:?}", parent_commands); in gen_fish_inner()
151 let mut parent_commands: Vec<_> = parent_commands.into(); in gen_fish_inner() variables
152 parent_commands.push(subcommand.get_name()); in gen_fish_inner()
153 gen_fish_inner(root_command, &parent_commands, subcommand, buffer); in gen_fish_inner()
/third_party/rust/crates/clap/clap_complete_fig/src/
H A Dfig.rs54 fn gen_fig_inner(parent_commands: &[&str], indent: usize, cmd: &Command, buffer: &mut String) { in gen_fig_inner()
108 let mut parent_commands: Vec<_> = parent_commands.into(); in gen_fig_inner() variables
109 parent_commands.push(subcommand.get_name()); in gen_fig_inner()
110 gen_fig_inner(&parent_commands, indent + 4, subcommand, buffer); in gen_fig_inner()

Completed in 2 milliseconds