Acme::Cow
Other
Switch branches/tags
Nothing to show
Latest commit 730db34 Apr 27, 2017 @hankache committed on GitHub Merge pull request #1 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json
Permalink
Failed to load latest commit information.
bin initial commit Feb 9, 2016
lib/Acme initial commit Feb 9, 2016
t initial commit Feb 9, 2016
xt initial commit Feb 9, 2016
.travis.yml add travis Feb 9, 2016
LICENSE initial commit Feb 9, 2016
META6.json Use SPDX identifier in license field of META6.json Apr 26, 2017
README.md update readme and meta6.json Feb 9, 2016
appveyor.yml Create appveyor.yml Feb 9, 2016

README.md

Acme::Cow Build Status Build status

A Perl 6 implementation of cowsay.

Installation

To install with Panda:

panda update
panda install Acme::Cow

Examples

use Acme::Cow;

# Default
Cow::cow.new(initial-text => "Hello World!").display;

# Custom face
Cow::cow.new(initial-text => "Hello World!").set-face("stoned").display;

# Custom template
Cow::camelia.new(initial-text => "Hello World!").display;

# Custom template & Custom face
Cow::www.new(initial-text => "Hello World!").set-face("stoned").display;

Using the binary

cow-say --help
cow-say --about
cow-say --message='Hello World'
cow-say --message='Hello World' --face='stoned'
cow-say --message='Hello World' --template='camelia'

To Do

  • Enhance the text formatter
  • Add more templates
  • Use Terminal::ANSIColor to make the output more appealing

Author

Naoum Hankache naoum88@gmail.com

License

Artistic License 2.0