From 58b38d0fecc4ebd32e35568ebee6c208f01f911e Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 11 Jan 2022 19:35:19 -0600 Subject: [PATCH] Add a docstring for cowthink for IDEs and the REPL --- src/Cowsay.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Cowsay.jl b/src/Cowsay.jl index 1ebdd92..c17919a 100644 --- a/src/Cowsay.jl +++ b/src/Cowsay.jl @@ -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")))