use crate::*;
#[derive(Clone, Debug, Parser)]
#[command(name = "euv")]
#[command(about = "euv development server with live WASM compilation")]
pub struct Cli {
#[command(subcommand)]
pub command: Mode,
}
#[derive(Clone, Debug, Parser)]
pub struct ModeArgs {
#[arg(short, long, default_value = ".")]
pub crate_path: PathBuf,
#[arg(short, long, default_value_t = 3000)]
pub port: u16,
#[arg(long, default_value = "www")]
pub www_dir: String,
#[arg(trailing_var_arg = true, allow_hyphen_values = true)]
pub wasm_pack_args: Vec<String>,
}
#[derive(Clone, Debug, Parser)]
pub struct FmtArgs {
#[arg(short, long, default_value = ".")]
pub path: PathBuf,
#[arg(long, default_value_t = false)]
pub check: bool,
}