| Crates.io | rsnow |
| lib.rs | rsnow |
| version | 0.1.1 |
| created_at | 2023-12-22 17:05:43.801554+00 |
| updated_at | 2023-12-22 17:10:52.694291+00 |
| description | A simple snowfall animation in Rust |
| homepage | |
| repository | https://github.com/wjwei-handsome/rsnow |
| max_upload_size | |
| id | 1078535 |
| size | 24,921 |
git clone https://github.com/wjwei-handsome/rsnow.git
cd rsnow
cargo build --release
./target/release/rsnow
or just
cargo install --git https://github.com/wjwei-handsome/rsnow.git
Just rsnow in your terminal.
Add -h or --help for help messages:
$ rsnow -h
Merry Christmas!
Usage: rsnow [OPTIONS]
Options:
-s, --speed <SPEED> Speed of snowfall [default: 1]
-q, --quantity <QUANTITY> Quantity of snowflakes [default: 20]
-r, --rainbow Bool, enabled rainbow color [default is false]
-t, --randomtype Bool, enabled random shape [default is false]
-n, --notree Bool, remove the Christmas tree [default is false]
-h, --help Print help
-V, --version Print version