use clap::{Parser, Subcommand};
use std::path::PathBuf;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Args {
#[command(subcommand)]
pub command: Option<Command>,
#[arg(value_name = "FILES", num_args = 1..)]
pub files: Vec<PathBuf>,
#[arg(short, long)]
pub output: Option<PathBuf>,
#[arg(short = 'm', long)]
pub multiple_files: bool,
}
#[derive(Subcommand, Debug)]
pub enum Command {
Generate {
#[arg(value_name = "FILES", num_args = 1..)]
files: Vec<PathBuf>,
#[arg(short, long)]
output: Option<PathBuf>,
#[arg(short = 'm', long)]
multiple_files: bool,
},
}