pub async fn dispatch(command: Commands, ex: &impl RiskyExecutors) -> Result<()>Expand description
Route a parsed subcommand to its executor. Safe commands are called
directly (and are exercised through dispatch() by the tests below); the
I/O-risky ones go through ex (see RiskyExecutors).