tensor_eigen/args/
whitelist.rsuse super::*;
#[derive(Subcommand)]
pub enum WhitelistSubcommands {
Compare(WhitelistCompareArgs),
Create(WhitelistCreateArgs),
Update(WhitelistUpdateArgs),
}
#[derive(ClapArgs)]
pub struct WhitelistCompareArgs {
#[clap(flatten)]
pub read_options: ReadOptions,
pub list: Option<PathBuf>,
#[arg(short, long)]
pub verbose: bool,
}
#[derive(ClapArgs)]
pub struct WhitelistCreateArgs {
#[clap(flatten)]
pub write_options: WriteOptions,
pub whitelist_config_path: PathBuf,
pub namespace_path: Option<PathBuf>,
}
#[derive(ClapArgs)]
pub struct WhitelistUpdateArgs {
#[clap(flatten)]
pub write_options: WriteOptions,
pub whitelist_address: Pubkey,
#[arg(short = 'c', long)]
pub new_conditions_path: Option<PathBuf>,
#[arg(short = 'u', long)]
pub new_update_authority_path: Option<PathBuf>,
#[arg(short = 'f', long)]
pub new_freeze_authority: Option<Pubkey>,
}