use clap::{Args, Parser, Subcommand};
const VERSION_STRING: &str = concat!(env!("CARGO_PKG_VERSION"));
#[derive(Parser, Debug)]
#[command(
author,
version = VERSION_STRING,
about,
long_about = "Gomu Gomu no Gatling is a load testing tool for Starknet RPC endpoints."
)]
pub struct Cli {
#[clap(flatten)]
pub global_opts: GlobalOpts,
#[command(subcommand)]
pub command: Command,
}
#[derive(Subcommand, Debug)]
pub enum Command {
Shoot {},
}
#[derive(Debug, Args)]
pub struct GlobalOpts {
#[clap(short, long, global = true)]
pub config_path: Option<String>,
}