Skip to main content

dispatch

Function dispatch 

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

Run a parsed Commands value.

json carries the global --json flag so an embedding host can pass its own output-format decision through.

ยงErrors

Returns any error produced by the selected profiler or analysis routine.