Skip to content

CLI tool using ascii animal art to display messages

Notifications You must be signed in to change notification settings

samdemaeyer/animal-talk

Repository files navigation

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

About

CLI tool using ascii animal art to display messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published