Add koala cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
a6a576eaa7
commit
7cb8f6b3be
3 changed files with 36 additions and 0 deletions
|
@ -30,5 +30,6 @@ Cowsay.eyes
|
||||||
Cowsay.flaming_sheep
|
Cowsay.flaming_sheep
|
||||||
Cowsay.fox
|
Cowsay.fox
|
||||||
Cowsay.kitty
|
Cowsay.kitty
|
||||||
|
Cowsay.koala
|
||||||
Cowsay.vader_koala
|
Cowsay.vader_koala
|
||||||
```
|
```
|
||||||
|
|
|
@ -14,6 +14,7 @@ include("cows/eyes.cow.jl")
|
||||||
include("cows/flaming-sheep.cow.jl")
|
include("cows/flaming-sheep.cow.jl")
|
||||||
include("cows/fox.cow.jl")
|
include("cows/fox.cow.jl")
|
||||||
include("cows/kitty.cow.jl")
|
include("cows/kitty.cow.jl")
|
||||||
|
include("cows/koala.cow.jl")
|
||||||
include("cows/udder.cow.jl")
|
include("cows/udder.cow.jl")
|
||||||
include("cows/vader-koala.cow.jl")
|
include("cows/vader-koala.cow.jl")
|
||||||
include("cows/vader.cow.jl")
|
include("cows/vader.cow.jl")
|
||||||
|
|
34
src/cows/koala.cow.jl
Normal file
34
src/cows/koala.cow.jl
Normal 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
|
Loading…
Reference in a new issue