Add moose 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:42:04 -06:00
parent bd3a83bf5e
commit ad5f481222
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 33 additions and 0 deletions

View file

@ -34,5 +34,6 @@ Cowsay.fox
Cowsay.kitty
Cowsay.koala
Cowsay.meow
Cowsay.moose
Cowsay.vader_koala
```

View file

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

31
src/cows/moose.cow.jl Normal file
View file

@ -0,0 +1,31 @@
"""
function moose()
# Example
```jldoctest
julia> cowsay("Time to vamoose", cow=Cowsay.moose)
_________________
< Time to vamoose >
-----------------
\\
\\ \\_\\_ _/_/
\\ \\__/
(oo)\\_______
(__)\\ )\\/\\
||----w |
|| ||
```
"""
function moose(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts \\_\\_ _/_/
$thoughts \\__/
($eyes)\\_______
(__)\\ )\\/\\
$tongue ||----w |
|| ||
"""
return the_cow
end