repositorypackage
1.0.7
Repository: https://github.com/usrbinkat/neo-cowsay.git
Documentation: pkg.go.dev
# README
Neo Cowsay
Fast, funny, everyone wanted? new cowsay!!
______________
< I'm Neo cows >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
What's?
cowsay is a configurable talking cow, written in Perl. It operates
much as the figlet program does, and it written in the same spirit
of silliness.
by Original.
Neo Cowsay written in Go. This cowsay extended the original and added fun more options. And it can be used as a library.
Usage
As command
cow{say,think} version 0.0.5, (c) 2018 CodeHex
Usage: cowsay [-bdgpstwy] [-h] [-e eyes] [-f cowfile] [--random]
[-l] [-n] [-T tongue] [-W wrapcolumn]
[--rainbow] [--aurora] [--super] [message]
Original Author: (c) 1999 Tony Monroe
Normal
$ cowsay Hello
_______
< Hello >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Borg mode
$ cowsay -b Hello
_______
< Hello >
-------
\ ^__^
\ (==)\_______
(__)\ )\/\
||----w |
|| ||
As library
package main
import (
"fmt"
cowsay "github.com/Code-Hex/Neo-cowsay"
)
func main() {
say, err := cowsay.Say(
cowsay.Phrase("Hello"),
cowsay.Type("default"),
cowsay.BallonWidth(40),
)
if err != nil {
panic(err)
}
fmt.Println(say)
}
New options
Random
Rainbow and Aurora, Bold
And, Super Cows mode
Install
library
go get -u github.com/Code-Hex/Neo-cowsay
cowsay
go get -u github.com/Code-Hex/Neo-cowsay/cmd/cowsay
cowthink
go get -u github.com/Code-Hex/Neo-cowsay/cmd/cowthink
Binary
You can download here
License
cowsay license
(The Artistic License or The GNU General Public License)
Author
Neo Cowsay: codehex
Original: (c) 1999 Tony Monroe