Skip to main content

dispatch

Function dispatch 

Source
pub async fn dispatch(command: SyncCommand) -> Result<i32>
Expand description

Run the parsed sync verb, returning the process exit code.

Any error — a server that answers but fails the call — propagates to the edition’s main, which prints it in the app’s own sapphire-sync: {err} shape and exits 1. An absent server is not an error: it is the one-line report below.