Usage

roll-cli

CLI dice roller.

Usage: roll [EXPRESSION] A cli command for rolling dice and adding modifiers in the same fashion as the node.js version on npm.

Examples:

roll - Rolls 1d20

roll <expression> - Rolls all dice + does math

Expressions:

1d20 - Rolls one 20-sided die

d20 - Does not require a ‘1’ in front of ‘d’

d% - Rolls 1d100

d8 + 3d6 + 5 - Rolls 1d8, 3d6, and adds everything together

(1d4)d6 - Rolls 1d4 d6 die

roll-cli [OPTIONS] [EXPRESSION]...

Options

-m, --minimum

Set dice to always roll the minimum value

-M, --maximum

Set dice to always roll the maximum value

-v, --verbose

Print the individual die roll values

Arguments

EXPRESSION

Optional argument(s)