mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
28 lines
400 B
Markdown
28 lines
400 B
Markdown
---
|
|
title: random dice
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Generate a random dice roll
|
|
|
|
## Signature
|
|
|
|
```> random dice --dice --sides```
|
|
|
|
## Parameters
|
|
|
|
- `--dice {int}`: The amount of dice being rolled
|
|
- `--sides {int}`: 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
|
|
```
|