use argh::{ArgsInfo, FromArgs};
#[derive(FromArgs, Debug, PartialEq)]
pub struct Args {
#[argh(subcommand)]
pub command: SubCommand,
}
#[derive(ArgsInfo, FromArgs, Debug, PartialEq)]
#[argh(subcommand)]
pub enum SubCommand {
List(ListCommand),
Show(ShowCommand),
}
#[derive(ArgsInfo, FromArgs, Debug, PartialEq)]
#[argh(subcommand, name = "list")]
pub struct ListCommand {}
#[derive(ArgsInfo, FromArgs, Debug, PartialEq)]
#[argh(subcommand, name = "show")]
pub struct ShowCommand {
#[argh(positional)]
pub package_name: String,
}