use clap::{ArgAction, Args, Subcommand};
#[derive(Subcommand)]
pub enum ProfilesCommands {
New,
Set(ProfilesSetArgs),
Get(ProfilesGetArgs),
List,
Remove(ProfilesRemoveArgs),
}
#[derive(Args)]
pub struct ProfilesSetArgs {
pub name: String,
}
#[derive(Args)]
pub struct ProfilesGetArgs {
pub name: String,
}
#[derive(Args)]
pub struct ProfilesRemoveArgs {
pub name: String,
#[arg(short, long, action = ArgAction::SetTrue)]
pub yes: bool,
}