Function clap_complete::aot::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.