diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -24,7 +24,17 @@ pub fn cli() -> Command { .help("Output in CSV format"), ), ) - .subcommand(Command::new("magic").about("Generates a magic item")), + .subcommand(Command::new("magic").about("Generates a magic item")) + .subcommand( + Command::new("npc") + .about("Generates a random NPC with a class and magic item loadout") + .arg( + Arg::new("class") + .short('c') + .long("class") + .help("The class of the NPC, e.g. fighter"), + ), + ), ) .subcommand( Command::new("roll") |