use clap::Parser; #[derive(Parser, Debug)] #[clap(version)] struct Args { #[clap(short, long, help = "Video to convert")] video: Option, } fn main() { let args = Args::parse(); println!("{:?}", args); }