use crate::v4::SocketConfig;
use clap::Args;

/// Configuration that can be passed in via the command line or programmatically to a Client
#[derive(Args, Debug)]
pub struct ClientConfig {
    /// Used to configure the `Client`'s `Socket`.
    #[command(flatten)]
    pub socket_config: SocketConfig,
}

impl Default for ClientConfig {
    fn default() -> Self {
        Self {
            socket_config: SocketConfig::default_client(),
        }
    }
}
