Skip to main content

run_command

Function run_command 

Source
pub async fn run_command(cli: Cli) -> CliResult<()>
Expand description

Dispatch a parsed Cli to the matching command. Public so custom hosts and integration tests can drive the exact same code path as run_main with a programmatically-built Cli (and a registry installed via PluginRegistry::install).