Add skeleton 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:53:29 -06:00
parent bc0232c94b
commit c458ec11ac
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 43 additions and 0 deletions

View file

@ -11,6 +11,7 @@ Cowsay.dragon_and_cow
Cowsay.mech_and_cow
Cowsay.moofasa
Cowsay.mutilated
Cowsay.skeleton
Cowsay.udder
Cowsay.vader
Cowsay.www

View file

@ -21,6 +21,7 @@ include("cows/moofasa.cow.jl")
include("cows/moose.cow.jl")
include("cows/mutilated.cow.jl")
include("cows/sheep.cow.jl")
include("cows/skeleton.cow.jl")
include("cows/udder.cow.jl")
include("cows/vader-koala.cow.jl")
include("cows/vader.cow.jl")

41
src/cows/skeleton.cow.jl Normal file
View file

@ -0,0 +1,41 @@
##
##
"""
function skeleton()
This 'Scowleton' brought to you by one of
{appel,kube,rowe}@csua.berkeley.edu
# Example
```jldoctest
julia> cowsay("All T-Bone, no steak", cow=Cowsay.skeleton)
______________________
< All T-Bone, no steak >
----------------------
\\ (__)
\\ /oo|
\\ (_"_)*+++++++++*
//I#\\\\\\\\\\\\\\\\I\\
I[I|I|||||I I `
I`I'///'' I I
I I I I
~ ~ ~ ~
Scowleton
```
"""
function skeleton(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts (__)
$thoughts /$eyes|
$thoughts (_"_)*+++++++++*
//I#\\\\\\\\\\\\\\\\I\\
I[I|I|||||I I `
I`I'///'' I I
I I I I
~ ~ ~ ~
Scowleton
"""
return the_cow
end