nushell/docs/commands/random-dice.md
Fernando Herrera dbcadbc12c moved folders
2022-02-07 19:23:12 +00:00

24 lines
399 B
Markdown

# random dice
Generate a random dice roll
## Usage
```shell
> random dice {flags}
```
## Flags
* -h, --help: Display this help message
* -d, --dice <integer>: The amount of dice being rolled
* -s, --sides <integer>: The amount of sides a die has
## Examples
Roll 1 dice with 6 sides each
```shell
> random dice
```
Roll 10 dice with 12 sides each
```shell
> random dice -d 10 -s 12
```