Add koala 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:07:55 -06:00
parent a6a576eaa7
commit 7cb8f6b3be
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 36 additions and 0 deletions

View file

@ -30,5 +30,6 @@ Cowsay.eyes
Cowsay.flaming_sheep
Cowsay.fox
Cowsay.kitty
Cowsay.koala
Cowsay.vader_koala
```

View file

@ -14,6 +14,7 @@ include("cows/eyes.cow.jl")
include("cows/flaming-sheep.cow.jl")
include("cows/fox.cow.jl")
include("cows/kitty.cow.jl")
include("cows/koala.cow.jl")
include("cows/udder.cow.jl")
include("cows/vader-koala.cow.jl")
include("cows/vader.cow.jl")

34
src/cows/koala.cow.jl Normal file
View file

@ -0,0 +1,34 @@
"""
function koala
From the canonical koala collection
# Example
```jldoctest
julia> cowsay("Welcome to Down Under", cow=Cowsay.koala)
_______________________
< Welcome to Down Under >
-----------------------
\\
\\
___
{~._.~}
( Y )
()~*~()
(_)-(_)
```
"""
function koala(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
___
{~._.~}
( Y )
()~*~()
(_)-(_)
"""
return the_cow
end