Skip to content

ffleming/dogsay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Like cowsay, but with a dog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages