Add sheep 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:49:16 -06:00
parent 2af2318128
commit bc0232c94b
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 40 additions and 0 deletions

View file

@ -36,5 +36,6 @@ Cowsay.kitty
Cowsay.koala
Cowsay.meow
Cowsay.moose
Cowsay.sheep
Cowsay.vader_koala
```

View file

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

38
src/cows/sheep.cow.jl Normal file
View file

@ -0,0 +1,38 @@
##
## The non-flaming sheep.
##
"""
function sheep()
The non-flaming sheep.
# Example
```jldoctest
julia> cowsay("Baa", cow=Cowsay.sheep)
_____
< Baa >
-----
\\
\\
__
UooU\\.'@@@@@@`.
\\__/(@@@@@@@@@@)
(@@@@@@@@)
`YY~~~~YY'
|| ||
```
"""
function sheep(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
__
U$(eyes)U\\.'@@@@@@`.
\\__/(@@@@@@@@@@)
(@@@@@@@@)
`YY~~~~YY'
|| ||
"""
return the_cow
end