Add sheep cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
2af2318128
commit
bc0232c94b
3 changed files with 40 additions and 0 deletions
|
@ -36,5 +36,6 @@ Cowsay.kitty
|
||||||
Cowsay.koala
|
Cowsay.koala
|
||||||
Cowsay.meow
|
Cowsay.meow
|
||||||
Cowsay.moose
|
Cowsay.moose
|
||||||
|
Cowsay.sheep
|
||||||
Cowsay.vader_koala
|
Cowsay.vader_koala
|
||||||
```
|
```
|
||||||
|
|
|
@ -20,6 +20,7 @@ include("cows/meow.cow.jl")
|
||||||
include("cows/moofasa.cow.jl")
|
include("cows/moofasa.cow.jl")
|
||||||
include("cows/moose.cow.jl")
|
include("cows/moose.cow.jl")
|
||||||
include("cows/mutilated.cow.jl")
|
include("cows/mutilated.cow.jl")
|
||||||
|
include("cows/sheep.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")
|
||||||
|
|
38
src/cows/sheep.cow.jl
Normal file
38
src/cows/sheep.cow.jl
Normal 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
|
Loading…
Reference in a new issue