1 use clap::ValueEnum; 2 3 #[derive(ValueEnum, Clone, Debug)] 4 struct Opt {} 5 main()6 fn main() { 7 println!("{:?}", Opt::value_variants()); 8 } 9