1 2 3 4 5 6 7 8 9 10 11 12
use std::process::ExitCode; #[cfg(feature = "cli")] use notabene::cli; #[cfg(feature = "cli")] fn main() -> std::process::ExitCode { match cli::main() { Ok(_) => ExitCode::SUCCESS, Err(_) => ExitCode::FAILURE, } }