Crates.io | petfacts |
lib.rs | petfacts |
version | 0.1.4 |
source | src |
created_at | 2023-03-05 08:49:17.867415 |
updated_at | 2023-03-17 01:50:55.614785 |
description | A simple CLI program to print out cat and dog facts to the console. |
homepage | https://github.com/CodeCanna/petfacts-rust |
repository | https://github.com/CodeCanna/petfacts-rust |
max_upload_size | |
id | 801174 |
size | 71,896 |
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.
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.
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