2 releases
0.1.4 | Mar 17, 2023 |
---|---|
0.1.3 |
|
0.1.2 |
|
0.1.1 |
|
0.1.0 | Mar 5, 2023 |
#5 in #dog
36 downloads per month
23KB
99 lines
Petfacts (Rust Edition)
Petfacts is a small command line utility for printing out dog or cat facts to the console, this is the rust edition.
The Python edition can be found here and has more features at the moment. I'm working to re-write petfacts fully in Rust.
Installation
To install first make sure you have Cargo installed and open a console window; type cargo install petfacts
and Cargo should take care of the rest.
Usage
petfacts dog
- Print a random dog fact to the console.petfacts cat
- Print a random cat fact to the console.petfacts
- Print a fact but dog or cat is chosen at random.petfacts help
- Print the help screen.petfacts version
- Print current petfacts version
Dependencies
~5–16MB
~219K SLoC