mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 08:37:16 +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());
|
|
}
|