diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -33,6 +33,14 @@ pub fn cli() -> Command { .short('c') .long("class") .help("The class of the NPC, e.g. fighter"), + ) + .arg( + Arg::new("level") + .short('l') + .long("level") + .help("The level of the NPC, e.g 18") + .default_value("1") + .value_parser(clap::value_parser!(i32)), ), ), ) |