animal-talk

0.0.9 • Public • Published

animal-talk

Animal Talk is a global CLI tool where the animals can talk and they will say what you want them to say.

Installation

Simply install the tool through npm or yarn

NPM

$ npm install -g animal-talk

Yarn

$ yarn global add animal-talk

Usage

When using the animaltalk command, there are some options that can be specefied.

Options

Option input required
-t | --text Text to pass through to the animal no
-a | --animal Chooses one of the below Animals no
-c | --color Chooses one of the below Colors no
-j | --joke When selected, the animal will tell a joke no

Animals

Colors

  • black
  • blue
  • cyan
  • gray
  • green
  • grey
  • magenta
  • random
  • red
  • white
  • yellow

Examples

$ animaltalk -t 'Hello there, how are you?' -a pig -c magenta

                         /\                  ---------------------------------
                        /  `.               <   Hello there, how are you?   >
                      ,'     `.              ---------------------------------
       /`.________   (         :                /
       \          `. _\_______  )              /
        \ `.----._  `.        "`-.            /
         )  \     \   `       ,"__\          /
         \   \     )    ,--    (/o\\        /
     (  _ `.  `---'     ,--.    \ _)).     /
      `(-',-`----'     ( (O \    `--,"`-.
        `/              \ \__)    ,'   O )
        /                `--'     (  O  ,'
       (                           `--,'
        \                    `==  _.-'
         \              .____.-;-'
          ) `._               /
         (    |`-._\    | ,' /
          `.__|__/ "\   |'  /
                     `._|_,'

The output will be in color as the image below illustrates Output example


$ animaltalk -j -a snake -c yellow
 -----------------------------------------------------
<   Which vegetable does a pirate never eat? Leeks.   >
 -----------------------------------------------------
      /
     /
    /       /^\/^\
    \    _|__|  O|
 \/  \ /~     \_/ \
  \____|__________/  \
         \_______      \
                 `\     \                 \
                   |     |                  \
                  /      /                    \
                 /     /                       \\
               /      /                         \ \
              /     /                            \  \
            /     /             _----_            \   \
           /     /           _-~      ~-_         |   |
          (      (        _-~    _--_    ~-_     _/   |
           \      ~-____-~    _-~    ~-_    ~-_-~    /
             ~-_           _-~          ~-_       _-~
                ~--______-~                ~-___-~

The output will be in color as the image below illustrates Output example

Dependencies (2)

Dev Dependencies (15)

Package Sidebar

Install

npm i animal-talk

Weekly Downloads

100

Version

0.0.9

License

ISC

Unpacked Size

456 kB

Total Files

252

Last publish

Collaborators

  • samdemaeyer