dinopkg/crates/dinopkg-cli/src/main.rs
2024-07-09 21:16:17 +01:00

14 lines
283 B
Rust

use clap::Parser;
mod command;
use color_eyre::Result;
use command::{Cli, Command};
#[tokio::main]
async fn main() -> Result<()> {
let cli = Cli::parse();
match cli.command {
Command::Run { script_name } => command::run::run(script_name).await?,
}
Ok(())
}