#![allow(clippy::must_use_candidate)]
mod command;
pub(crate) mod prelude;
pub(crate) mod project;
pub(crate) mod theme;
use clap::Parser;
use command::Command;
use prelude::*;
#[derive(Debug, Parser)]
#[command(name = "manatsu")]
#[command(version, about, long_about = None)]
enum Cli {
Create(command::Create),
Theme(command::Theme),
Tailwind,
}
#[tokio::main]
async fn main() -> Result<()> {
let cli = Cli::parse();
match cli {
Cli::Create(cmd) => cmd.execute().await,
Cli::Theme(cmd) => cmd.execute().await,
Cli::Tailwind => command::tailwind().await,
}
}