pub async fn dispatch(command: Command, ctx: RunContext) -> Result<i32>
Dispatch a parsed CLI command to the appropriate handler. Returns an exit code.
Returns an error if the dispatched handler fails.