Skip to main content

run

Function run 

Source
pub fn run<I, S>(args: I) -> i32
where I: IntoIterator<Item = S>, S: Into<OsString>,
Expand description

Entry point used by the cordis binary: parse arguments, load dotenv, then supervise or run as the worker.

Accepts OsStrings so non-UTF-8 arguments (notably config paths on Unix) survive to the loader unchanged.