use cli_entry::CliEntry;
use mk_lib::schema::ExecutionInterrupted;
mod cli_entry;
mod secrets;
fn main() -> anyhow::Result<()> {
match run() {
Ok(()) => Ok(()),
Err(error) if error.downcast_ref::<ExecutionInterrupted>().is_some() => {
std::process::exit(130);
},
Err(error) => Err(error),
}
}
fn run() -> anyhow::Result<()> {
let cli = CliEntry::new()?;
cli.run()
}