Skip to main content

run_with_config

Function run_with_config 

Source
pub fn run_with_config(config: &Config) -> Result<(), CliError>
Expand description

Execute the pipeline with a pre-built Config.

This is the entry point used by tests and embedders that already have a Config. Logging must be initialised separately (e.g. via init_tracing) when calling from a binary entry point.

§Errors

Propagates any error produced by the underlying pipeline.