Function clap_complete::aot::utils::subcommands

source ยท
pub fn subcommands(p: &Command) -> Vec<(String, String)>
Expand description

Gets subcommands of clap::Command in the form of ("name", "bin_name").

Subcommand rustup toolchain install would be converted to ("install", "rustup toolchain install").