rolls

Crates.iorolls
lib.rsrolls
version0.1.2
sourcesrc
created_at2023-10-26 22:14:03.39431
updated_at2023-10-26 22:14:03.39431
descriptionThis command exists to help roll dices in D&D games. The following are implemented: d4, d6, d8, d10, d20.
homepage
repositoryhttps://github.com/jgardona/rolls
max_upload_size
id1015365
size17,717
Júlio César de Brito Gardona (jgardona)

documentation

README

Rolls

Rolls is a cli to help people who plays Dangeons and Dragons. It implements many dice types: d4, d6, d8, d10, d20.

Install

$ cargo install rolls

Use

$ ./rolls -h
This command exists to help roll dices in D&D games.
The following are implemented: d4, d6, d8, d10, d20.

Usage: rolls <DICES> <AMOUNT>

Arguments:
  <DICES>   The type of dice to roll [possible values: d4, d6, d8, d10, d20]
  <AMOUNT>  The amount of dices to roll

Options:
  -h, --help     Print help
  -V, --version  Print version

$ ./rolls d4 3

Processing your results

⚄ 1,1 ⚄ 2,1 ⚄ 3,1 

Total of rolls: 3
Commit count: 12

cargo fmt