use clap::{Args, Parser};
#[derive(Debug, Parser)]
#[command(version)]
pub struct ValidatorArgs {
#[command(flatten)]
pub challenge: ChallengeArgs,
#[arg(long, short, default_value = "http://127.0.0.1:8000")]
pub url: String,
}
#[derive(Debug, Clone, Args)]
#[group(required = true, multiple = false)]
pub struct ChallengeArgs {
pub numbers: Vec<i32>,
#[arg(long)]
pub all: bool,
}