Skip to main content

run

Function run 

Source
pub fn run(command: AppCommand, edition: Edition) -> Result<()>
Expand description

Run one command as edition, exiting the process with its code.

An error is returned for the caller to print with exit_with, in the app’s own sapphire-sync: {err} shape.