Add a docstring for cowthink for IDEs and the REPL
This commit is contained in:
parent
6e5c336ee2
commit
58b38d0fec
1 changed files with 7 additions and 0 deletions
|
@ -81,6 +81,13 @@ function cowsay(message::AbstractString; cow=default, eyes="oo", tongue=" ")
|
|||
println(string(balloon, cow(eyes=eyes, tongue=tongue)))
|
||||
end
|
||||
|
||||
"""
|
||||
cowthink(message::AbstractString; kwargs...)
|
||||
|
||||
Print an ASCII picture of a cow thinking `message`
|
||||
|
||||
See [`cowsay`](@ref)
|
||||
"""
|
||||
function cowthink(message::AbstractString; cow=default, eyes="oo", tongue=" ")
|
||||
balloon = thinkballoon(message)
|
||||
println(string(balloon, cow(eyes=eyes, tongue=tongue, thoughts="o")))
|
||||
|
|
Loading…
Reference in a new issue