Skip to main content

Module cli

Module cli 

Source
Expand description

CLI binary entry point and argument parsing.

Structs§

Cli

Functions§

run
Run the CLI with the given options, writing status output to stderr. Returns Ok(None) for --validate, or Ok(Some(MockServer)) after startup. The server runs until the returned MockServer is dropped.
run_with_output
Run the CLI with the given options, writing status output to the provided writer. This variant enables tests to capture output.