Function clap_generate::utils::subcommands[][src]

pub fn subcommands(p: &App<'_>) -> Vec<(String, String), Global>
Expand description

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

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