Simple CLI dice roller.
roll [DICE]...
Supports standard notation (NdS) and advantage/disadvantage (a/d).
# normal roll
roll 1d20
# multiple dice
roll 4d6 1d8
# advantage (roll 2 keep highest)
roll 1d20a
# disadvantage (keep lowest)
roll 1d20d
# modifiers (add/subtract from result)
roll 1d20+5
roll 1d8-2Output looks like this:
+-------+--------+
| Die | Roll |
+=======+========+
| d20a | 18 (4) |
| d6 | 5 |
+-------+--------+
| Total | 23 |
+-------+--------+
cargo install alecghost-rollor with this repo checked out locally
cargo install --path .