This command-line tool draws lottery numbers in a given range. It is written in Rust.
Currently there are no build scripts but you may execute cargo build
to build an executable for your system.
lottery [OPTIONS] <drawings> <upper_value>
where drawings
is the number of drawings and upper_value
is the highest number (inclusive). By default numbers are drawn from 1 to upper_value
.
OPTIONS:
-l, --lower_value <lower_value> the lowest number to draw from (inclusive), default=1
-h, --help Prints help information
-V, --version Prints version information
lottery 5 50
- draw 5 values from 1..50 (both inclusive) without repetitions
lottery -l 2 6 45
- draw 6 values from 2..45 (both inclusive) without repetitions
This program is in final status and no changes are planned unless someone finds a bug.