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