Skip to main content

run

Function run 

Source
pub fn run() -> ExitCode
Expand description

Run the cordance CLI: parse argv, install tracing, dispatch the subcommand, and return a process ExitCode.

Both cordance-cli’s thin main.rs and the cordance umbrella package’s main.rs call this directly. Embedding cordance as a library (e.g. inside a test harness or a higher-level CLI) is also supported — call cordance_cli::run() from your own main().