gasbench/
cli.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use clap::Parser;

#[derive(Parser, Debug)]
pub struct Cli {
    #[arg(short, long)]
    pub save: bool,

    #[arg(short, long)]
    pub anvil: bool,

    #[arg(value_name = "File", help = "File name")]
    pub file: Option<String>,
}