petfacts

Crates.iopetfacts
lib.rspetfacts
version0.1.4
sourcesrc
created_at2023-03-05 08:49:17.867415
updated_at2023-03-17 01:50:55.614785
descriptionA simple CLI program to print out cat and dog facts to the console.
homepagehttps://github.com/CodeCanna/petfacts-rust
repositoryhttps://github.com/CodeCanna/petfacts-rust
max_upload_size
id801174
size71,896
Mark Waid Jr (CodeCanna)

documentation

https://github.com/CodeCanna/petfacts-rust

README

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
Commit count: 24

cargo fmt