cowsay 重生了。Neo Cowsay 使用 Go 编写。
Neo Cowsay is written in Go. This cowsay is extended the original cowsay. added fun more options, and you can be used as a library.
for GitHub Actions users: Code-Hex/neo-cowsay-action
______________
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||According to the original original manual.
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.This is also supported COWPATH env. Please read more details in #33 if you want to use this.
-f - #39Movies for new options
https://user-images.githubusercontent.com/6500104/140379043-53e44994-b1b0-442e-bda7-4f7ab3aedf01.mov
cow{say,think} version 2.0.0, (c) 2021 codehex
Usage: cowsay [-bdgpstwy] [-h] [-e eyes] [-f cowfile] [--random]
[-l] [-n] [-T tongue] [-W wrapcolumn]
[--bold] [--rainbow] [--aurora] [--super] [message]
Original Author: (c) 1999 Tony Monroe
Repository: https://github.com/Code-Hex/Neo-cowsayNormal
$ cowsay Hello
_______
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||Borg mode
$ cowsay -b Hello
_______
-------
\ ^__^
\ (==)\_______
(__)\ )\/\
||----w |
|| ||package main
import (
"fmt"
cowsay "github.com/Code-Hex/Neo-cowsay/v2"
)
func main() {
say, err := cowsay.Say(
"Hello",
cowsay.Type("default"),
cowsay.BallonWidth(40),
)
if err != nil {
panic(err)
}
fmt.Println(say)
}$ scoop install neo-cowsay$ winget install neo-cowsay$ brew update
$ brew install Code-Hex/tap/neo-cowsayYou can download from here
$ go get github.com/Code-Hex/Neo-cowsay/v2$ go install github.com/Code-Hex/Neo-cowsay/cmd/v2/cowsay@latest$ go install github.com/Code-Hex/Neo-cowsay/cmd/v2/cowthink@latestcowsay license
…(The Artistic License or The GNU General Public License)
Neo Cowsay: codehex
Original: (c) 1999 Tony Monroe
暂无开放 Issues,或尚未同步最近议题。