Add documentation for cowthink
This commit is contained in:
parent
8fecb1e59a
commit
6e5c336ee2
1 changed files with 12 additions and 1 deletions
|
@ -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=" ")
|
||||
|
|
Loading…
Reference in a new issue