Function clap_generate::generators::utils::all_subcommands[][src]

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

Gets all subcommands including child subcommands in the form of ("name", "bin_name").

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