use std::process::ExitCode;
mod build_command;
mod fmt_command;
mod run;
mod sig_command;
mod watch_command;
fn main() -> ExitCode {
let args: Vec<String> = std::env::args().skip(1).collect();
match run::run(&args) {
Ok(()) => ExitCode::SUCCESS,
Err(message) => {
eprintln!("{}", message);
ExitCode::FAILURE
}
}
}