From 6e5c336ee2c2da6e9174a3e2bbe927b3e8b180b1 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 11 Jan 2022 19:32:42 -0600 Subject: [PATCH] Add documentation for cowthink --- src/Cowsay.jl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/Cowsay.jl b/src/Cowsay.jl index 77acf2d..1ebdd92 100644 --- a/src/Cowsay.jl +++ b/src/Cowsay.jl @@ -38,8 +38,9 @@ include("cows/www.cow.jl") """ cowsay(message::AbstractString; kwargs...) + cowthink(message::AbstractString; kwargs...) -Print an ASCII picture of a cow saying `message` +Print an ASCII picture of a cow saying/thinking `message` # Arguments - `message::AbstractString`: Tell the cow what to say @@ -63,6 +64,16 @@ julia> cowsay("Have you mooed today?") (__)\\ )\\/\\ ||----w | || || + +julia> cowthink("Have I mooed today?") + _____________________ +( Have I mooed today? ) + --------------------- + o ^__^ + o (oo)\\_______ + (__)\\ )\\/\\ + ||----w | + || || ``` """ function cowsay(message::AbstractString; cow=default, eyes="oo", tongue=" ")