Skip to main content

run

Function run 

Source
pub fn run(cli: Cli) -> i32
Expand description

Run a parsed CLI command.

Phase 10a wires the six landed engine seams. The CLI opens the engine at the verb’s <db_path>, calls the seam, serializes the typed report under a verb-discriminated JSON envelope, and maps EngineError to the stable exit-code matrix.

recover invoked without --accept-data-loss is refused at the CLI layer (no engine call) per dev/design/recovery.md: recovery is the only lossy root and must not proceed without explicit acknowledgement.