Skip to content

audy/catsay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catsay Build Status Coverage Status Code Climate security

Cats in your $SHELL. Pairs well with lolcat.

$ catsay --cat octocat "Fork me on GitHub!"
               MMM.           .MMM
               MMMMMMMMMMMMMMMMMMM
               MMMMMMMMMMMMMMMMMMM
              MMMMMMMMMMMMMMMMMMMMM
             MMMMMMMMMMMMMMMMMMMMMMM
            MMMMMMMMMMMMMMMMMMMMMMMM    Fork me on GitHub!
            MMMM::- -:::::::- -::MMMM    |/
             MM~:~   ~:::::~   ~:~MM
        .. MMMMM::. .:::+:::. .::MMMMM ..
              .MM::::: ._. :::::MM.
                 MMMM;:::::;MMMM
          -MM        MMMMMMM
          ^  M+     MMMMMMMMM
              MMMMMMM MM MM MM
                   MM MM MM MM
                   MM MM MM MM
                .~~MM~MM~MM~MM~~.
             ~~~~MM:~MM~~~MM~:MM~~~~
            ~~~~~~==~==~~~==~==~~~~~~
             ~~~~~~==~==~==~==~~~~~~
                 :~==~==~==~==~~

Installation

gem install catsay

Usage

usage: catsay ...
    -c, --cat [TEMPLATE]             Chooses the cat.
    -o, --out [OUTFILE]              Output file (default=/dev/stdout)
    -i, --in [INFILE]                Input file (default=/dev/stdin)
    -l, --list                       List cats and exit
    -e, --verbose                    Annoying kitty

Contributing

This gem needs more cats! To add a cat, create an erb file in the cats/ directory. This file is just a text file. Add your cat and include the special string <%= @message %> wherever you want the message to go. Then send me a pull-request.