Add kitty 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:02:33 -06:00
parent 30faff4071
commit a6a576eaa7
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 36 additions and 0 deletions

View file

@ -29,5 +29,6 @@ Cowsay.elephant_in_snake
Cowsay.eyes Cowsay.eyes
Cowsay.flaming_sheep Cowsay.flaming_sheep
Cowsay.fox Cowsay.fox
Cowsay.kitty
Cowsay.vader_koala Cowsay.vader_koala
``` ```

View file

@ -13,6 +13,7 @@ include("cows/elephant.cow.jl")
include("cows/eyes.cow.jl") 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/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/kitty.cow.jl Normal file
View file

@ -0,0 +1,34 @@
"""
function kitty()
A kitten of sorts, I think
# Example
```jldoctest
julia> cowsay("Meow", cow=Cowsay.kitty)
______
< Meow >
------
\\
\\
("`-' '-/") .___..--' ' "`-._
` *_ * ) `-. ( ) .`-.__. `)
(_Y_.) ' ._ ) `._` ; `` -. .-'
_.. `--'_..-_/ /--' _ .' ,4
( i l ),-'' ( l i),' ( ( ! .-'
```
"""
function kitty(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
("`-' '-/") .___..--' ' "`-._
` *_ * ) `-. ( ) .`-.__. `)
(_Y_.) ' ._ ) `._` ; `` -. .-'
_.. `--'_..-_/ /--' _ .' ,4
( i l ),-'' ( l i),' ( ( ! .-'
"""
return the_cow
end