#fact #dog #cat #pets #cli #fun

app petfacts

A simple CLI program to print out cat and dog facts to the console

2 releases

0.1.4 Mar 17, 2023
0.1.3 Mar 15, 2023
0.1.2 Mar 15, 2023
0.1.1 Mar 15, 2023
0.1.0 Mar 5, 2023

#2 in #dog

Custom license

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

~4–18MB
~246K SLoC