1 2 3 4 5 6 7 8 9 10 11 12 13 14
use std::process::ExitCode; fn main() -> ExitCode { match caelix_cli::run_from_env() { Ok(output) => { print!("{output}"); ExitCode::SUCCESS } Err(err) => { eprintln!("error: {err}"); ExitCode::FAILURE } } }