Skip to content

Mr-Owllers/treefacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreeFacts - A CLI application that displays facts about trees

Installation

Requirements

  • GCC
  • Curl

UNIX-like

git clone https://github.com/Mr-Owllers/treefacts.git
cd treefacts
make install

Windows

Warning: This app doesn't fully support Windows devices and hasn't been tested on Windows devices.

git clone https://github.com/Mr-Owllers/treefacts.git
cd treefacts
gcc src/treefacts.c -o obj/treefacts.o
gcc src/libtreefacts.c -o obj/libtreefacts.o
gcc obj/treefacts.o -o bin/treefacts.exe

Uninstallation

UNIX-like

cd treefacts
make uninstall

Usage

Displaying the help menu:

treefacts --help

The help menu:

----------- TreeFacts Help Menu -----------

--help        -h   Displays this help menu
--randomfact  -r   Get a randomfact
--fact        -f   Gets today's fact
--dayfact     -d   Gets the fact of the specified day
--indexfact   -i   Gets a fact by index
--fetch       -e   Fetches tree ASCII art

Authors

Mr-Owllers
Erdi-GitHub (Erdi)