mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
8 lines
127 B
Rust
8 lines
127 B
Rust
use clap::ArgEnum;
|
|
|
|
#[derive(ArgEnum, Clone, Debug)]
|
|
struct Opt {}
|
|
|
|
fn main() {
|
|
println!("{:?}", Opt::value_variants());
|
|
}
|