nushell/docs/commands/random_dice.md

400 B

title layout version
random dice command 0.59.1

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

> random dice

Roll 10 dice with 12 sides each

> random dice -d 10 -s 12