Add moofasa cowfile

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 16:34:14 -06:00
parent 36252c4ac8
commit bd3a83bf5e
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 42 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Cowsay.default
Cowsay.cower
Cowsay.dragon_and_cow
Cowsay.mech_and_cow
Cowsay.moofasa
Cowsay.udder
Cowsay.vader
Cowsay.www

View file

@ -17,6 +17,7 @@ include("cows/kitty.cow.jl")
include("cows/koala.cow.jl")
include("cows/mech-and-cow.cow.jl")
include("cows/meow.cow.jl")
include("cows/moofasa.cow.jl")
include("cows/udder.cow.jl")
include("cows/vader-koala.cow.jl")
include("cows/vader.cow.jl")

40
src/cows/moofasa.cow.jl Normal file
View file

@ -0,0 +1,40 @@
##
## MOOfasa.
##
"""
function moofasa()
MOOfasa
# Example
```jldoctest
julia> cowsay("It's the circle of life", cow=Cowsay.moofasa)
_________________________
< It's the circle of life >
-------------------------
\\ ____
\\ / \\
| ^__^ |
| (oo) |______
| (__) | )\\/\\
\\____/|----w |
|| ||
Moofasa
```
"""
function moofasa(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts ____
$thoughts / \\
| ^__^ |
| ($eyes) |______
| (__) | )\\/\\
\\____/|----w |
|| ||
Moofasa
"""
return the_cow
end