1 //! `inf3r` — the operator commands.2 3 use std::process::ExitCode;4 5 use inf3r_cli::cli;6 7 fn main() -> ExitCode {8 let args = match cli::parse_args(std::env::args().skip(1)) {9 Ok(args) => args,10 Err(why) => {11 eprintln!("inf3r: {why}");12 return ExitCode::from(why.exit_code());13 }14 };15 match cli::run(&args) {16 Ok(code) => code,17 Err(why) => {18 eprintln!("inf3r: {why}");19 ExitCode::from(why.exit_code())20 }21 }22 }