Crates.io | rndmator |
lib.rs | rndmator |
version | 0.1.0 |
source | src |
created_at | 2021-07-20 17:21:25.879226 |
updated_at | 2021-07-20 17:21:25.879226 |
description | Command-line utility to toss a coin, roll dice and randomly choose from a list. |
homepage | https://github.com/amanharwara/rndmator/ |
repository | https://github.com/amanharwara/rndmator/ |
max_upload_size | |
id | 425249 |
size | 54,926 |
Command-line utility for choosing randomly from a list, rolling a die or tossing a coin.
cargo install rndmator
rndmator 0.1.0
Aman Harwara <amanharwara@protonmail.com>
Command-line utility to randomly choose from a list, roll dice or toss a coin.
USAGE:
rndmator [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-r, --repeat <n> Repeat action <n> number of times
SUBCOMMANDS:
-c, coin Toss a coin
-d, dice Roll a dice
-l, list Randomly choose an item from a list
-n, number Random number between range
help Prints this message or the help of the given subcommand(s)
USAGE:
rndmator {coin, -c} [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-r, --repeat <n> Repeat action <n> number of times
-t, --tosses <tosses> Number of tosses [default: 1]
USAGE:
rndmator {dice, -d} [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-r, --repeat <n> Repeat action <n> number of times
-s, --sides <sides> Number of sides of the dice [default: 6]
USAGE:
rndmator {list, -l} [OPTIONS] <LIST>
ARGS:
<LIST> The list to choose an item from
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-a, --amount <amount> Amount of items to choose from list [default: 1]
-d, --delim <delimiter> The delimiter used to separate items [default: ,]
-r, --repeat <n> Repeat action <n> number of times
USAGE:
rndmator {number, -n} [OPTIONS] <RANGE>
ARGS:
<RANGE> Range to choose from. e.g. 1..10
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-r, --repeat <n> Repeat action <n> number of times