mirror of
https://github.com/SkyfallWasTaken/dinopkg.git
synced 2024-11-25 22:53:39 +00:00
14 lines
283 B
Rust
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(())
|
|
}
|