Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hankache/acme-cow
Acme::Cow
https://github.com/hankache/acme-cow
perl6 raku
Last synced: about 1 month ago
JSON representation
Acme::Cow
- Host: GitHub
- URL: https://github.com/hankache/acme-cow
- Owner: hankache
- License: artistic-2.0
- Created: 2016-02-09T10:06:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T20:12:35.000Z (over 4 years ago)
- Last Synced: 2024-10-10T21:40:13.650Z (about 1 month ago)
- Topics: perl6, raku
- Language: Raku
- Size: 16.6 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Acme::Cow [![Build Status](https://travis-ci.org/hankache/Acme-Cow.svg?branch=master)](https://travis-ci.org/hankache/Acme-Cow) [![Build status](https://ci.appveyor.com/api/projects/status/b9t9b1up1kom5xt9?svg=true)](https://ci.appveyor.com/project/hankache/acme-cow)
=========
A Raku implementation of cowsay.Installation
------------
To install with zef:```
zef update
zef install Acme::Cow
```Examples
--------
```Raku
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 appealingAuthor
------
Naoum HankacheLicense
-------
Artistic License 2.0