summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index bc6c3a8..0c58461 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -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)),
),
),
)