use clap::{Parser, Subcommand, Args};
mod registry;
pub use {
registry::*,
};
#[derive(Debug, Parser)]
#[command(name = "MyApp")]
#[command(about = "Does awesome things", long_about = None)]
pub struct App {
#[clap(flatten)]
pub global_opts: GlobalOpts,
#[clap(subcommand)]
pub command: Command,
}
#[derive(Debug, Subcommand)]
pub enum Command {
Registry(RegistrySubcommandArgs)
}
#[derive(Debug, Args)]
pub struct GlobalOpts {
#[arg(short, long)]
pub directory: Option<String>,
}