Function cli::commands::get_commands

source ·
pub fn get_commands(
    include_dev: bool
) -> (Vec<Arc<dyn Command>>, HashMap<&'static str, Arc<dyn Command>>)
Expand description

Returns all the commands available, as well as the reverse index from the aliases to the commands.