use clap::{Parser, Subcommand};
mod commands;
#[derive(Parser)]
#[command(name = "mzrs", about = "CLI tool for scaffolding mzrs bot projects")]
struct Cli {
#[command(subcommand)]
command: Commands,
}
#[derive(Subcommand)]
enum Commands {
New {
name: String,
#[arg(short, long, default_value = "minimal")]
template: String,
},
}
fn main() {
let cli = Cli::parse();
match cli.command {
Commands::New { name, template } => commands::new::run(&name, &template),
}
}