Add docstring for cowthunk

This commit is contained in:
Thomas A. Christensen II 2022-02-01 16:30:45 -06:00
parent d2a4226cbb
commit b1554d50c4
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -125,6 +125,13 @@ function cowsaid(message::AbstractString; cow=default, eyes="oo", tongue=" ")
return string(balloon, cow(eyes=eyes, tongue=tongue))
end
"""
cowthunk(message::AbstractString; kwargs...)
Construct art of a cow thinking `message`.
See [`cowsaid`](@ref) and [`cowsay`](@ref)
"""
function cowthunk(message::AbstractString; cow=default, eyes="oo", tongue=" ")
balloon = thinkballoon(message)
return string(balloon, cow(eyes=eyes, tongue=tongue, thoughts="o"))