Skip to main content

run_command

Function run_command 

Source
pub fn run_command(command: Command) -> Result<()>
Expand description

Dispatch an already-parsed cli::Command to its pipeline.

Split from run so the dispatch can be exercised without reading the process arguments, mirroring select_action.

§Errors

Propagates any error produced by the selected pipeline.