Skip to content
Acme::Cow
Raku
Branch: master
Clone or download

Latest commit

Latest commit 6dd40f2 Apr 1, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib/Acme
t
xt
.gitignore
.travis.yml
LICENSE
META6.json
README.md
appveyor.yml

README.md

Acme::Cow Build Status Build status

A Raku implementation of cowsay.

Installation

To install with zef:

zef update
zef 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

You can’t perform that action at this time.