Project

petli

0.0
No release in over 3 years
Low commit activity in last 3 years
A virtual pet that will live in your command line!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.8.0
~> 0.7.0
~> 0.6.0
~> 0.7.1
~> 0.3.0
~> 0.9.0
~> 0.8.1
 Project Readme

Petli

Virtual Pet in your console. You must feed it, clean up after it, and play with it to keep it happy!

Gem Version


Usage

Run gem install petli and then run petli in your command line. Run petli --help for more information.

Advanced usage

Petli has a command line api that would allow you to do funky things like

  • have mutiple pets using --path
  • make a separate app that graphs happiness using petli --status | jq '.health
  • setup a cron job to feed your pet hourly with petli --bread
  • Your idea here!
$> petli --help
Usage: petli [options]
    -r, --reset          Reset button to start over again
    -s, --status         Dump pet status
    -b, --bread          Feed your pet bread without viewing
    -c, --candy          Feed your pet candy without viewing
    -m, --medicine       Feed your pet candy without viewing
    -l, --clean          Clean up any 'dirt' without viewing
    -p, --path [PATH]    Path to your pet data (defaults to system config dir)

Development

$> git clone git@github.com:tanema/petli.git
$> cd petli
$> bundle install
$> rake install:local
$> petli