10 lines
263 B
Rust
10 lines
263 B
Rust
fn main() -> std::process::ExitCode {
|
|
match marqdo_lint::cli::run() {
|
|
Ok(code) => std::process::ExitCode::from(code as u8),
|
|
Err(error) => {
|
|
eprintln!("error: {error}");
|
|
std::process::ExitCode::from(2)
|
|
}
|
|
}
|
|
}
|