Skip to main content

run

Function run 

Source
pub async fn run(argv: Vec<String>) -> Result<i32>
Expand description

Runs the oy command dispatcher with command-line arguments excluding the program name.

This is the same application entry point used by the binary after src/main.rs strips the executable name. It returns the process exit code that the binary should use.

Prefer invoking the oy binary for automation unless embedding the CLI in-process is specifically needed.