@randsum/cli
v0.2.2
Published
Dice rolling CLI and interactive TUI powered by RANDSUM
Maintainers
Readme
@randsum/cli
Dice rolling CLI and interactive TUI powered by RANDSUM.
Install
npm install -g @randsum/cli
# or
bunx randsum
# or
npx randsumUsage
Quick Roll
randsum 4d6L # Roll 4d6, drop lowest
randsum 2d20H # Disadvantage (drop highest)
randsum 1d20+5 # Attack roll with modifier
randsum 3d6! # Exploding diceInteractive TUI
randsum # Launch interactive mode
randsum -i # Explicit interactive flagOptions
-i, --interactive Launch interactive TUI mode
-v, --verbose Show detailed roll breakdown
-j, --json Output results as JSON
-s, --seed <number> Set random seed for reproducible rolls
-V, --version Show version
-h, --help Show helpDice Notation
Uses RANDSUM Dice Notation — supports drop/keep (L/H), reroll (R{}), exploding (!), unique (U), cap (C{}), and arithmetic (+/-).
License
MIT
