use std::path::PathBuf;
use clap::{Parser, Subcommand};
use lazy_static::lazy_static;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Args {
#[arg(short, long)]
pub directory: PathBuf,
#[command(subcommand)]
pub command: Option<Command>,
#[arg(long, default_value_t = false)]
pub dry_run: bool,
}
#[derive(Debug, Subcommand)]
pub enum Command {
Import(ImportArgs)
}
#[derive(Debug, clap::Args)]
pub struct ImportArgs {
pub path: PathBuf,
#[arg(long)]
pub max_depth: Option<u16>,
}
lazy_static! {
pub static ref ARGS: Args = Args::parse();
}