1 2 3 4 5 6 7 8 9 10 11
use std::process::ExitCode; fn main() -> ExitCode { match hni::app::dispatch::run_from_env() { Ok(code) => code, Err(err) => { eprintln!("{}", hni::app::error_report::render_error(&err)); ExitCode::from(1) } } }