clap/clap_derive/tests/ui/arg_enum_on_struct.rs
2021-09-29 19:31:05 +02:00

8 lines
127 B
Rust

use clap::ArgEnum;
#[derive(ArgEnum, Clone, Debug)]
struct Opt {}
fn main() {
println!("{:?}", Opt::value_variants());
}