Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(command: Commands) -> Result<()>
Expand description

Run one already-parsed command.

Split out from run so a caller that did its own parsing – apr rag – executes the identical code path rather than a copy of it.

§Errors

Propagates whatever the selected command returns.