Skip to main content

run

Function run 

Source
pub fn run() -> ExitCode
Available on crate feature cli only.
Expand description

Binary entry point shared by src/main.rs and src/bin/ts.rs.

Resolves CompatibilityMode once at startup from CLI flag → env var → argv[0] basename per FR-021. Dispatches to the appropriate pipeline based on the resolved flags (relative mode, elapsed modes, absolute default). In Strict mode, Rusty-only flags are rejected with a moreutils-style diagnostic.