1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use {
    anchor_client::Cluster,
    clap::{
        Parser
    },
};

#[derive(Default, Debug, Parser)]
pub struct ConfigOptions {
    /// Cluster override.
    #[clap(global = true, long = "client.cluster")]
    pub cluster: Option<Cluster>,
    /// Wallet override.
    #[clap(global = true, long = "client.wallet")]
    pub wallet: Option<String>,
}