Function clap_complete::generator::utils::find_subcommand_with_path
source · pub fn find_subcommand_with_path<'cmd>(
p: &'cmd Command,
path: Vec<&str>
) -> &'cmd Command
Expand description
Finds the subcommand [clap::Command
] from the given [clap::Command
] with the given path.
NOTE: path
should not contain the root bin_name
.