fn main() -> std::process::ExitCode {
repo_trust::utils::tracing::init();
let exit_code = match repo_trust::cli::run() {
Ok(code) => code,
Err(err) => {
tracing::error!(error = ?err, "unhandled error");
eprintln!("error: {err:#}");
1
},
};
std::process::ExitCode::from(exit_code)
}