Project

dogsay

0.0
No commit activity in last 3 years
No release in over 3 years
Prints CLI arguments or STDIN in a speech bubble, said by a dog. Dogs are better than cows, after all.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 1.6.5, ~> 1
~> 3
 Project Readme

Dogsay

Gem Version Build Status Code Climate Test Coverage

It's like cowsay, but with a dog.

Installation

% gem install dogsay

Usage

% dogsay Woof
                          _            +--------------------------------------+
                        ,:'/   _..._   |                 Woof                 |
                       // ( `""-.._.'  +--------------------------------------+
                       \| /    6\___  /
                       |     6      4
                       |            /
                       \_       .--'
                       (_'---'`)
                       / `'---`()
                     ,'        |
     ,            .'`          |
     )\       _.-'             ;
    / |    .'`   _            /
  /` /   .'       '.        , |
 /  /   /           \   ;   | |
|  \  |            |  .|   | |
  \  `"|           /.-' |   | |
   '-..-\       _.;.._  |   |.;-.
         \    <`.._  )) |  .;-. ))
         (__.  `  ))-'  \_    ))'
             `'--"`       `"""`

or

% fortune | dogsay
                          _            +--------------------------------------+
                        ,:'/   _..._   | [Maturity consists in the discovery  |
                       // ( `""-.._.'  | that] there comes a critical moment  |
                       \| /    6\___  /| where everything is reversed, after  |
                       |     6      4  |      which the point becomes to      |
                       |            /  | understand more and more that there  |
                       \_       .--'   |     is something which cannot be     |
                       (_'---'`)       |    understood. -- S. Kierkegaard     |
                       / `'---`()      +--------------------------------------+
                     ,'        |
     ,            .'`          |
     )\       _.-'             ;
    / |    .'`   _            /
  /` /   .'       '.        , |
 /  /   /           \   ;   | |
|  \  |            |  .|   | |
  \  `"|           /.-' |   | |
   '-..-\       _.;.._  |   |.;-.
         \    <`.._  )) |  .;-. ))
         (__.  `  ))-'  \_    ))'
             `'--"`       `"""`

If you're feeling saucy, you can try out dinosay as well:

Configuration

Edit .dogsay in your home directory. It is a Yaml file that looks something like this:

:pose: :small
:justify: :center
:strip: :true
:text_width: 35

The full options (though some, like :raw, are incompatible with others, like :justify) are:

:pose: <see dogs directory or use dogsay --list>
:justify: <:ljust|:center|:rjust>
:strip: <true|false>
:raw: <true|false>
:text_width: <integer>

Note that you can't set :animal in your dotfile, as if you want a dog you use dogsay and if you want a dinosaur you use dinosay.

Contributing

  1. Fork it ( https://github.com/ffleming/dogsay/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Acknowledgments