samsay
Tell Yeoman what to say
Like cowsay, but less cow.
This is a really stupid fork of https://github.com/yeoman/yosay.
I just wanted my generator to talk like Samuel L. Jackson.
Install
$ npm install samsay
Usage
const samsay = ; console; /* _-----_ ╭──────────────────────────╮ | | │ Hello, and welcome to my │ |--(o)--| │ fantastic generator full │ `---------´ │ of whimsy and bubble │ ( _´U`_ ) │ gum! │ /___A___\ /╰──────────────────────────╯ | ~ | __'.___.'__ ´ ` |° ´ Y ` */
You can style your text with chalk
before passing it to samsay
.
CLI
$ npm install --global samsay
$ samsay --help
Usage
$ samsay <string>
$ samsay <string> --maxLength 8
$ echo <string> | samsay
Example
$ samsay 'Sindre is a horse'
_-----_
| |
|--(o)--| ╭──────────────────────────╮
`---------´ │ Sindre is a horse │
( _´U`_ ) ╰──────────────────────────╯
/___A___\ /
| ~ |
__'.___.'__
´ ` |° ´ Y `
License
BSD-2-Clause © Google