1use clap::Parser;
2
3#[derive(Parser)]
4#[command(author, version, about, long_about = None)]
5struct Cli {
6 #[arg(short, long)]
7 verbose: bool,
8}
9
10fn main() {
11 let cli = Cli::parse();
12
13 println!("verbose: {:?}", cli.verbose);
14}
15