mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +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());
|
|
}
|