mod cli;
mod commands;
mod consts;
mod error;
use mimalloc::MiMalloc;
use std::process::ExitCode;
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;
fn main() -> ExitCode {
match cli::run() {
Ok(()) => ExitCode::SUCCESS,
Err(error) => {
eprintln!("{error}");
ExitCode::FAILURE
}
}
}