mirror of https://github.com/E-Almqvist/wwmap
parent
61d69b14c5
commit
8f1c2377b9
@ -0,0 +1,11 @@ |
|||||||
|
use clap::Parser; |
||||||
|
|
||||||
|
#[derive(Parser, Debug)] |
||||||
|
#[clap(author, version, about, long_about = None)] |
||||||
|
struct Args { |
||||||
|
#[clap(short, long, value_parser)] |
||||||
|
name: String, |
||||||
|
|
||||||
|
#[clap(short, long, value_parser, defualt_value_t = 1)] |
||||||
|
count: u8 |
||||||
|
} |
Loading…
Reference in new issue