use crate::types::Commands;
use clap::Parser;
mod actions;
mod helpers;
mod providers;
mod types;
fn main() {
let res = match Commands::parse() {
Commands::Init => actions::init(),
Commands::Config => actions::config(),
Commands::Run => actions::run(),
};
if let Err(e) = res {
eprintln!("{e:?}");
std::process::exit(1);
}
}