469 lines
60 KiB
HTML
469 lines
60 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Private API Reference · Cowsay.jl</title><meta name="title" content="Private API Reference · Cowsay.jl"/><meta property="og:title" content="Private API Reference · Cowsay.jl"/><meta property="twitter:title" content="Private API Reference · Cowsay.jl"/><meta name="description" content="Documentation for Cowsay.jl."/><meta property="og:description" content="Documentation for Cowsay.jl."/><meta property="twitter:description" content="Documentation for Cowsay.jl."/><meta property="og:url" content="https://cowsay-jl.millironx.com/private.html"/><meta property="twitter:url" content="https://cowsay-jl.millironx.com/private.html"/><link rel="canonical" href="https://cowsay-jl.millironx.com/private.html"/><script data-outdated-warner src="assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.050/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="assets/documenter.js"></script><script src="search_index.js"></script><script src="siteinfo.js"></script><script src="../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/catppuccin-mocha.css" data-theme-name="catppuccin-mocha"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/catppuccin-macchiato.css" data-theme-name="catppuccin-macchiato"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/catppuccin-frappe.css" data-theme-name="catppuccin-frappe"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/catppuccin-latte.css" data-theme-name="catppuccin-latte"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit"><a href="index.html">Cowsay.jl</a></span></div><button class="docs-search-query input is-rounded is-small is-clickable my-2 mx-auto py-1 px-2" id="documenter-search-query">Search docs (Ctrl + /)</button><ul class="docs-menu"><li><a class="tocitem" href="index.html">Home</a></li><li><a class="tocitem" href="cows.html">Available Cowfiles</a></li><li><a class="tocitem" href="cowfiles.html">Make your own Cowfile</a></li><li class="is-active"><a class="tocitem" href="private.html">Private API Reference</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><a class="docs-sidebar-button docs-navbar-link fa-solid fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href="private.html">Private API Reference</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href="private.html">Private API Reference</a></li></ul></nav><div class="docs-right"><a class="docs-navbar-link" href="https://code.millironx.com/millironx/Cowsay.jl" title="View the repository"><span class="docs-icon fa-brands"></span><span class="docs-label is-hidden-touch">Repository</span></a><a class="docs-navbar-link" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/master/docs/src/private.md" title="Edit source"><span class="docs-icon fa-solid"></span></a><a class="docs-settings-button docs-navbar-link fa-solid fa-gear" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-article-toggle-button fa-solid fa-chevron-up" id="documenter-article-toggle-button" href="javascript:;" title="Collapse all docstrings"></a></div></header><article class="content" id="documenter-page"><h1 id="Private-API-Reference"><a class="docs-heading-anchor" href="#Private-API-Reference">Private API Reference</a><a id="Private-API-Reference-1"></a><a class="docs-heading-anchor-permalink" href="#Private-API-Reference" title="Permalink"></a></h1><p>Internal functions used by Cowsay.jl.</p><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.blowfish-Tuple{}" href="#Cowsay.blowfish-Tuple{}"><code>Cowsay.blowfish</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function blowfish()</code></pre><p>A blowfish.</p><pre><code class="language-julia-repl hljs">julia> cowsay("Bloop, bloop", cow=Cowsay.blowfish)
|
|
______________
|
|
< Bloop, bloop >
|
|
--------------
|
|
\
|
|
\
|
|
| .
|
|
. |L /|
|
|
_ . |\ _| \--+._/| .
|
|
/ ||\| Y J ) / |/| ./
|
|
J |)'( | ` F`.'/
|
|
-<| F __ .-<
|
|
| / .-'. `. /-. L___
|
|
J \ < \ | | O\|.-'
|
|
_J \ .- \/ O | | \ |F
|
|
'-F -<_. \ .-' `-' L__
|
|
__J _ _. >-' )._. |-'
|
|
`-|.' /_. \_| F
|
|
/.- . _.<
|
|
/' /.' .' `\
|
|
/L /' |/ _.-'-\
|
|
/'J ___.---'\|
|
|
|\ .--' V | `. `
|
|
|/`. `-. `._)
|
|
/ .-.\
|
|
VK \ ( `\
|
|
`.\
|
|
|
|
|
|
</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/blowfish.cow.jl#L1-38">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.bunny-Tuple{}" href="#Cowsay.bunny-Tuple{}"><code>Cowsay.bunny</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function bunny()</code></pre><p>A cute little wabbit</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Look at that tortoise way off in the distance.", cow=Cowsay.bunny)
|
|
______________________________________
|
|
/ Look at that tortoise way off in the \
|
|
\ distance. /
|
|
--------------------------------------
|
|
\
|
|
\ \
|
|
\ /\
|
|
( )
|
|
.( o ).
|
|
</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/bunny.cow.jl#L1-21">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.cower-Tuple{}" href="#Cowsay.cower-Tuple{}"><code>Cowsay.cower</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function cower()</code></pre><p>A cowering cow</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Is it safe to come out yet?", cow=Cowsay.cower)
|
|
_____________________________
|
|
< Is it safe to come out yet? >
|
|
-----------------------------
|
|
\
|
|
\
|
|
,__, | |
|
|
(oo)\| |___
|
|
(__)\| | )\_
|
|
| |_w | \
|
|
| | || *
|
|
|
|
Cower....
|
|
</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/cower.cow.jl#L4-27">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.cowmoo-Tuple{AbstractString, Any}" href="#Cowsay.cowmoo-Tuple{AbstractString, Any}"><code>Cowsay.cowmoo</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">cowmoo(message::AbstractString, mode, kwargs...)</code></pre><p>Converts <code>message</code> into either saying or thinking art based on the value of <code>mode</code>. All of the default values for <code>kwargs</code> for pretty much every other function live here. See <a href="index.html#Cowsay.cowsay"><code>cowsay</code></a> for their descriptions.</p></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L152-158">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.cowsaid-Tuple{AbstractString}" href="#Cowsay.cowsaid-Tuple{AbstractString}"><code>Cowsay.cowsaid</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">cowsaid(message::AbstractString; kwargs...)
|
|
cowthunk(message::AbstractString; kwargs...)</code></pre><p>Constructs cow art and returns it as a string instead of printing it. See <a href="index.html#Cowsay.cowsay"><code>cowsay</code></a> for implementation details.</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsaid("Have you mooed today?")
|
|
" _______________________\n< Have you mooed today? >\n -----------------------\n \\ ^__^\n \\ (oo)\\_______\n (__)\\ )\\/\\\n ||----w |\n || ||\n"</code></pre><pre><code class="language-julia-repl hljs">julia> cowthunk("Have I mooed today?")
|
|
" _____________________\n( Have I mooed today? )\n ---------------------\n o ^__^\n o (oo)\\_______\n (__)\\ )\\/\\\n ||----w |\n || ||\n"</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L118-136">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.cowsay-Tuple{AbstractString}" href="#Cowsay.cowsay-Tuple{AbstractString}"><code>Cowsay.cowsay</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">cowsay([io,] message::AbstractString; kwargs...)
|
|
cowthink([io,] message::AbstractString; kwargs...)</code></pre><p>Print an ASCII picture of a cow saying/thinking <code>message</code></p><p><strong>Arguments</strong></p><ul><li><code>message::AbstractString</code>: Tell the cow what to say</li></ul><p><strong>Keywords</strong></p><ul><li><code>cow=default</code>: Specify a particular function handle to print the ASCII art. See below for more details on what constitutes a valid function handle.</li><li><code>eyes::AbstractString="oo"</code>: A two-character string to be drawn in for the eyes. Not all cowfiles support this, though.</li><li><code>tongue::AbstractString=" "</code>: A two-character string to be drawn in for the tongue. Not all cowfiles support this.</li><li><code>wrap::Int=40</code>: The number of characters at which to wrap <code>message</code> to a new line</li><li><code>nowrap::Bool=false</code>: Don't perform text wrapping on <code>message</code></li></ul><p><strong>Cow appearance Keywords</strong></p><ul><li><code>borg::Bool=false</code>: Initiates Borg mode</li><li><code>dead::Bool=false</code>: Causes the cow to appear dead</li><li><code>greedy::Bool=false</code>: Invokes greedy mode</li><li><code>paranoid::Bool=false</code>: Causes a state of paranoia to come over the cow</li><li><code>stoned::Bool=false</code>: Makes the cow appear thoroughly stoned</li><li><code>tired::Bool=false</code>: Yields a tired cow</li><li><code>wired::Bool=false</code>: Somewhat the opposite of <code>tired</code>, and initiates wired mode</li><li><code>young::Bool=false</code>: Brings on the cow's youthful appearance</li></ul><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Have you mooed today?")
|
|
_______________________
|
|
< Have you mooed today? >
|
|
-----------------------
|
|
\ ^__^
|
|
\ (oo)\_______
|
|
(__)\ )\/\
|
|
||----w |
|
|
|| ||
|
|
|
|
julia> cowthink("Have I mooed today?")
|
|
_____________________
|
|
( Have I mooed today? )
|
|
---------------------
|
|
o ^__^
|
|
o (oo)\_______
|
|
(__)\ )\/\
|
|
||----w |
|
|
|| ||</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L43-94">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.cowthink-Tuple{AbstractString}" href="#Cowsay.cowthink-Tuple{AbstractString}"><code>Cowsay.cowthink</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">cowthink([io,] message::AbstractString; kwargs...)</code></pre><p>Print an ASCII picture of a cow thinking <code>message</code></p><p>See <a href="index.html#Cowsay.cowsay"><code>cowsay</code></a></p></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L103-109">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.cowthunk-Tuple{AbstractString}" href="#Cowsay.cowthunk-Tuple{AbstractString}"><code>Cowsay.cowthunk</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">cowthunk(message::AbstractString; kwargs...)</code></pre><p>Construct art of a cow thinking <code>message</code>.</p><p>See <a href="index.html#Cowsay.cowsaid"><code>cowsaid</code></a> and <a href="index.html#Cowsay.cowsay"><code>cowsay</code></a></p></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L141-147">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.default-Tuple{}" href="#Cowsay.default-Tuple{}"><code>Cowsay.default</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function default()</code></pre><p>The original cowfile</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Moo", cow=Cowsay.default)
|
|
_____
|
|
< Moo >
|
|
-----
|
|
\ ^__^
|
|
\ (oo)\_______
|
|
(__)\ )\/\
|
|
||----w |
|
|
|| ||
|
|
|
|
</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/default.cow.jl#L1-21">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.dict_or_default-Tuple{Any, Any, Any}" href="#Cowsay.dict_or_default-Tuple{Any, Any, Any}"><code>Cowsay.dict_or_default</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">dict_or_default(dict, key, value)</code></pre><p>If <code>key</code> is present in <code>dict</code>, then return <code>dict[key]</code>, otherwise return <code>value</code></p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> dict = Dict(:holstein => "lotsa milk", :jersey => "butterfat", :shorthorn => "worthless");
|
|
|
|
julia> Cowsay.dict_or_default(dict, :holstein, "fluid")
|
|
"lotsa milk"
|
|
|
|
julia> Cowsay.dict_or_default(dict, :brown_swiss, "cheese")
|
|
"cheese"</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L230-245">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.dragon-Tuple{}" href="#Cowsay.dragon-Tuple{}"><code>Cowsay.dragon</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function dragon()</code></pre><p>The Whitespace Dragon</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Roar!", cow=Cowsay.dragon)
|
|
_______
|
|
< Roar! >
|
|
-------
|
|
\ / \ //\
|
|
\ |\___/| / \// \\
|
|
/0 0 \__ / // | \ \
|
|
/ / \/_/ // | \ \
|
|
@_^_@'/ \/_ // | \ \
|
|
//_^_/ \/_ // | \ \
|
|
( //) | \/// | \ \
|
|
( / /) _|_ / ) // | \ _\
|
|
( // /) '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-.
|
|
(( / / )) ,-{ _ `-.|.-~-. .~ `.
|
|
(( // / )) '/\ / ~-. _ .-~ .-~^-. \
|
|
(( /// )) `. { } / \ \
|
|
(( / )) .----~-.\ \-' .~ \ `. \^-.
|
|
///.----..> \ _ -~ `. ^-` ^-_
|
|
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
|
|
/.-~
|
|
</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/dragon.cow.jl#L4-34">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.dragon_and_cow-Tuple{}" href="#Cowsay.dragon_and_cow-Tuple{}"><code>Cowsay.dragon_and_cow</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function dragon_and_cow()</code></pre><p>A dragon smiting a cow, possible credit to kube@csua.berkeley.edu</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Roast beef: it's what's for dinner", cow=Cowsay.dragon_and_cow)
|
|
____________________________________
|
|
< Roast beef: it's what's for dinner >
|
|
------------------------------------
|
|
\ ^ /^
|
|
\ / \ // \
|
|
\ |\___/| / \// .\
|
|
\ /O O \__ / // | \ \ *----*
|
|
/ / \/_/ // | \ \ \ |
|
|
@___@` \/_ // | \ \ \/\ \
|
|
0/0/| \/_ // | \ \ \ \
|
|
0/0/0/0/| \/// | \ \ | |
|
|
0/0/0/0/0/_|_ / ( // | \ _\ | /
|
|
0/0/0/0/0/0/`/,_ _ _/ ) ; -. | _ _\.-~ / /
|
|
,-} _ *-.|.-~-. .~ ~
|
|
\ \__/ `/\ / ~-. _ .-~ /
|
|
\____(oo) *. } { /
|
|
( (--) .----~-.\ \-` .~
|
|
//__\\ \__ Ack! ///.----..< \ _ -~
|
|
// \\ ///-._ _ _ _ _ _ _{^ - - - - ~</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/dragon-and-cow.cow.jl#L1-30">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.elephant-Tuple{}" href="#Cowsay.elephant-Tuple{}"><code>Cowsay.elephant</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function elephant()</code></pre><p>An elephant out and about</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Toot!", cow=Cowsay.elephant)
|
|
_______
|
|
< Toot! >
|
|
-------
|
|
\ /\ ___ /\
|
|
\ // \/ \/ \\
|
|
(( O O ))
|
|
\\ / \ //
|
|
\/ | | \/
|
|
| | | |
|
|
| | | |
|
|
| o |
|
|
| | | |
|
|
|m| |m|</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/elephant.cow.jl#L1-23">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.elephant_in_snake-Tuple{}" href="#Cowsay.elephant_in_snake-Tuple{}"><code>Cowsay.elephant_in_snake</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function elephant_in_snake()</code></pre><p>Do we need to explain this?</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Help!", cow=Cowsay.elephant_in_snake)
|
|
_______
|
|
< Help! >
|
|
-------
|
|
\
|
|
\ ....
|
|
........ .
|
|
. .
|
|
. .
|
|
......... .......
|
|
..............................
|
|
|
|
Elephant inside ASCII snake
|
|
</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/elephant-in-snake.cow.jl#L1-24">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.eyes-Tuple{}" href="#Cowsay.eyes-Tuple{}"><code>Cowsay.eyes</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function eyes()</code></pre><p>Evil-looking eyes</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Mwah, ha, ha!", cow=Cowsay.eyes)
|
|
_______________
|
|
< Mwah, ha, ha! >
|
|
---------------
|
|
\
|
|
\
|
|
.::!!!!!!!:.
|
|
.!!!!!:. .:!!!!!!!!!!!!
|
|
~~~~!!!!!!. .:!!!!!!!!!UWWW$$$
|
|
:$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P
|
|
$$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$#
|
|
$$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$*
|
|
^$$$B $$$$\ $$$$$$$$$$$$ d$$R"
|
|
"*$bd$$$$ '*$$$$$$$$$$$o+#"
|
|
"""" """""""</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/eyes.cow.jl#L1-25">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.flaming_sheep-Tuple{}" href="#Cowsay.flaming_sheep-Tuple{}"><code>Cowsay.flaming_sheep</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function flaming_sheep()</code></pre><p>The flaming sheep, contributed by Geordan Rosario (geordan@csua.berkeley.edu)</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Baaahhh!", cow=Cowsay.flaming_sheep)
|
|
__________
|
|
< Baaahhh! >
|
|
----------
|
|
\ . . .
|
|
\ . . . ` ,
|
|
\ .; . : .' : : : .
|
|
\ i..`: i` i.i.,i i .
|
|
\ `,--.|i |i|ii|ii|i:
|
|
UooU\.'@@@@@@`.||'
|
|
\__/(@@@@@@@@@@)'
|
|
(@@@@@@@@)
|
|
`YY~~~~YY'
|
|
|| ||</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/flaming-sheep.cow.jl#L4-27">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.fox-Tuple{}" href="#Cowsay.fox-Tuple{}"><code>Cowsay.fox</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function fox()</code></pre><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("What does the fox say?", cow=Cowsay.fox)
|
|
________________________
|
|
< What does the fox say? >
|
|
------------------------
|
|
\ ,-. .-,
|
|
\ |-.\ __ /.-|
|
|
\ \ ` ` /
|
|
/_ _ \
|
|
< _`q p _ >
|
|
<.._=/ \=_. >
|
|
{`\()/`}`\
|
|
{ } \
|
|
|{ } \
|
|
\ '--' .- \
|
|
|- / \
|
|
| | | | | ;
|
|
| | |.;.,..__ |
|
|
.-"";` `|
|
|
/ | /
|
|
`-../____,..---'`</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/fox.cow.jl#L1-28">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.kitty-Tuple{}" href="#Cowsay.kitty-Tuple{}"><code>Cowsay.kitty</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function kitty()</code></pre><p>A kitten of sorts, I think</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Meow", cow=Cowsay.kitty)
|
|
______
|
|
< Meow >
|
|
------
|
|
\
|
|
\
|
|
("`-' '-/") .___..--' ' "`-._
|
|
` *_ * ) `-. ( ) .`-.__. `)
|
|
(_Y_.) ' ._ ) `._` ; `` -. .-'
|
|
_.. `--'_..-_/ /--' _ .' ,4
|
|
( i l ),-'' ( l i),' ( ( ! .-'</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/kitty.cow.jl#L1-21">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.koala-Tuple{}" href="#Cowsay.koala-Tuple{}"><code>Cowsay.koala</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function koala</code></pre><p>From the canonical koala collection</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Welcome to Down Under", cow=Cowsay.koala)
|
|
_______________________
|
|
< Welcome to Down Under >
|
|
-----------------------
|
|
\
|
|
\
|
|
___
|
|
{~._.~}
|
|
( Y )
|
|
()~*~()
|
|
(_)-(_)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/koala.cow.jl#L1-21">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.mech_and_cow-Tuple{}" href="#Cowsay.mech_and_cow-Tuple{}"><code>Cowsay.mech_and_cow</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function mech_and_cow()</code></pre><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Do you ever get that feeling...?", cow=Cowsay.mech_and_cow)
|
|
__________________________________
|
|
< Do you ever get that feeling...? >
|
|
----------------------------------
|
|
\ ,-----.
|
|
/ | |
|
|
\ ,--| |-.
|
|
/ __,----| | | |
|
|
\ ,;:: | `_____' |
|
|
/ `._______| i^i |
|
|
\ `----| |---'| .
|
|
/ ,-------._| |== ||//
|
|
\ | |_|P`. /'/
|
|
/ `-------' 'Y Y/'/'
|
|
\ .==\ /_\
|
|
^__^ / /'| `i
|
|
(oo)\_______ /' / | |
|
|
(__)\ )\/\ /' / | `i
|
|
||----w|| ___,;`----'.___L_,-'`\__
|
|
|| || i_____;----\.____i""\____\</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/mech-and-cow.cow.jl#L1-28">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.meow-Tuple{}" href="#Cowsay.meow-Tuple{}"><code>Cowsay.meow</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function meow()</code></pre><p>A meowing tiger?</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("We're kind of stupid that way", cow=Cowsay.meow)
|
|
_______________________________
|
|
< We're kind of stupid that way >
|
|
-------------------------------
|
|
\
|
|
\ , _ ___.--'''`--''//-,-_--_.
|
|
\`"' ` || \\ \ \\/ / // / ,-\\`,_
|
|
/'` \ \ || Y | \|/ / // / - |__ `-,
|
|
/@"\ ` \ `\ | | ||/ // | \/ \ `-._`-,_.,
|
|
/ _.-. `.-\,___/\ _/|_/_\_\/|_/ | `-._._)
|
|
`-'``/ / | // \__/\__ / \__/ \
|
|
`-' /-\/ | -| \__ \ |-' |
|
|
__/\ / _/ \/ __,-' ) ,' _|'
|
|
(((__/(((_.' ((___..-'((__,'</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/meow.cow.jl#L1-23">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.moofasa-Tuple{}" href="#Cowsay.moofasa-Tuple{}"><code>Cowsay.moofasa</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function moofasa()</code></pre><p>MOOfasa</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("It's the circle of life", cow=Cowsay.moofasa)
|
|
_________________________
|
|
< It's the circle of life >
|
|
-------------------------
|
|
\ ____
|
|
\ / \
|
|
| ^__^ |
|
|
| (oo) |______
|
|
| (__) | )\/\
|
|
\____/|----w |
|
|
|| ||
|
|
|
|
Moofasa</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/moofasa.cow.jl#L4-25">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.moose-Tuple{}" href="#Cowsay.moose-Tuple{}"><code>Cowsay.moose</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function moose()</code></pre><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Time to vamoose", cow=Cowsay.moose)
|
|
_________________
|
|
< Time to vamoose >
|
|
-----------------
|
|
\
|
|
\ \_\_ _/_/
|
|
\ \__/
|
|
(oo)\_______
|
|
(__)\ )\/\
|
|
||----w |
|
|
|| ||</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/moose.cow.jl#L1-18">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.mutilated-Tuple{}" href="#Cowsay.mutilated-Tuple{}"><code>Cowsay.mutilated</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function mutilated()</code></pre><p>A mutilated cow, from aspolito@csua.berkeley.edu</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("I wouldn't have been so eager to make head cheese...", cow=Cowsay.mutilated)
|
|
_______________________________________
|
|
/ I wouldn't have been so eager to make \
|
|
\ head cheese... /
|
|
---------------------------------------
|
|
\ \_______
|
|
v__v \ \ O )
|
|
(oo) ||----w |
|
|
(__) || || \/\</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/mutilated.cow.jl#L1-18">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.sayballoon-Tuple{AbstractString}" href="#Cowsay.sayballoon-Tuple{AbstractString}"><code>Cowsay.sayballoon</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function sayballoon(message::AbstractString)</code></pre><p>Creates the balloon portion of the art for <a href="index.html#Cowsay.cowsay"><code>cowsay</code></a></p><p>See also <a href="index.html#Cowsay.cowsay"><code>cowsay</code></a>, <a href="private.html#Cowsay.thinkballoon-Tuple{AbstractString}"><code>thinkballoon</code></a></p></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L254-260">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.sheep-Tuple{}" href="#Cowsay.sheep-Tuple{}"><code>Cowsay.sheep</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function sheep()</code></pre><p>The non-flaming sheep.</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Baa", cow=Cowsay.sheep)
|
|
_____
|
|
< Baa >
|
|
-----
|
|
\
|
|
\
|
|
__
|
|
UooU\.'@@@@@@`.
|
|
\__/(@@@@@@@@@@)
|
|
(@@@@@@@@)
|
|
`YY~~~~YY'
|
|
|| ||</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/sheep.cow.jl#L4-24">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.skeleton-Tuple{}" href="#Cowsay.skeleton-Tuple{}"><code>Cowsay.skeleton</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function skeleton()</code></pre><p>This 'Scowleton' brought to you by one of {appel,kube,rowe}@csua.berkeley.edu</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("All T-Bone, no steak", cow=Cowsay.skeleton)
|
|
______________________
|
|
< All T-Bone, no steak >
|
|
----------------------
|
|
\ (__)
|
|
\ /oo|
|
|
\ (_"_)*+++++++++*
|
|
//I#\\\\\\\\I\
|
|
I[I|I|||||I I `
|
|
I`I'///'' I I
|
|
I I I I
|
|
~ ~ ~ ~
|
|
Scowleton</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/skeleton.cow.jl#L4-26">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.small-Tuple{}" href="#Cowsay.small-Tuple{}"><code>Cowsay.small</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function small()</code></pre><p>A small cow, artist unknown</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("A calf", cow=Cowsay.small)
|
|
________
|
|
< A calf >
|
|
--------
|
|
\ ,__,
|
|
\ (..)____
|
|
(__) )\
|
|
||--|| *</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/small.cow.jl#L1-17">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.stegosaurus-Tuple{}" href="#Cowsay.stegosaurus-Tuple{}"><code>Cowsay.stegosaurus</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function stegosaurus()</code></pre><p>A stegosaur with a top hat?</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("How do you do?", cow=Cowsay.stegosaurus)
|
|
________________
|
|
< How do you do? >
|
|
----------------
|
|
\ . .
|
|
\ / `. .' "
|
|
\ .---. < > < > .---.
|
|
\ | \ \ - ~ ~ - / / |
|
|
_____ ..-~ ~-..-~
|
|
| | \~~~\.' `./~~~/
|
|
--------- \__/ \__/
|
|
.' O \ / / \ "
|
|
(_____, `._.' | } \/~~~/
|
|
`----. / } | / \__/
|
|
`-. | / | / `. ,~~|
|
|
~-.__| /_ - ~ ^| /- _ `..-'
|
|
| / | / ~-. `-. _ _ _
|
|
|_____| |_____| ~ - . _ _ _ _ _></code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/stegosaurus.cow.jl#L4-30">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.supermilker-Tuple{}" href="#Cowsay.supermilker-Tuple{}"><code>Cowsay.supermilker</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function supermilker()</code></pre><p>A cow being milked, probably from Lars Smith (lars@csua.berkeley.edu)</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Paying the bills", cow=Cowsay.supermilker)
|
|
__________________
|
|
< Paying the bills >
|
|
------------------
|
|
\ ^__^
|
|
\ (oo)\_______ ________
|
|
(__)\ )\/\ |Super |
|
|
||----W | |Milker|
|
|
|| UDDDDDDDDD|______|</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/supermilker.cow.jl#L1-18">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.surgery-Tuple{}" href="#Cowsay.surgery-Tuple{}"><code>Cowsay.surgery</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function surgery()</code></pre><p>A cow operation, artist unknown</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Removing the last bit of net wrap now", cow=Cowsay.surgery)
|
|
_______________________________________
|
|
< Removing the last bit of net wrap now >
|
|
---------------------------------------
|
|
\ \ /
|
|
\ \/
|
|
(__) /\
|
|
(oo) O O
|
|
_\/_ //
|
|
* ( ) //
|
|
\ (\\ //
|
|
\( \\ )
|
|
( \\ ) /\
|
|
___[\______/^^^^^^^\__/) o-)__
|
|
|\__[=======______//________)__\
|
|
\|_______________//____________|
|
|
||| || //|| |||
|
|
||| || @.|| |||
|
|
|| \/ .\/ ||
|
|
. .
|
|
'.'.`
|
|
|
|
COW-OPERATION</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/surgery.cow.jl#L4-35">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.thinkballoon-Tuple{AbstractString}" href="#Cowsay.thinkballoon-Tuple{AbstractString}"><code>Cowsay.thinkballoon</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function thinkballoon(message::AbstractString)</code></pre><p>Creates the balloon portion of the art for <a href="private.html#Cowsay.cowthink-Tuple{AbstractString}"><code>cowthink</code></a></p><p>See also <a href="private.html#Cowsay.cowthink-Tuple{AbstractString}"><code>cowthink</code></a>, <a href="private.html#Cowsay.sayballoon-Tuple{AbstractString}"><code>sayballoon</code></a></p></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/Cowsay.jl#L310-316">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.three_eyes-Tuple{}" href="#Cowsay.three_eyes-Tuple{}"><code>Cowsay.three_eyes</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function three_eyes()</code></pre><p>A cow with three eyes, brought to you by dpetrou@csua.berkeley.edu</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("The better to see you with...", cow=Cowsay.three_eyes)
|
|
_______________________________
|
|
< The better to see you with... >
|
|
-------------------------------
|
|
\ ^___^
|
|
\ (ooo)\_______
|
|
(___)\ )\/\
|
|
||----w |
|
|
|| ||</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/three-eyes.cow.jl#L1-19">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.turkey-Tuple{}" href="#Cowsay.turkey-Tuple{}"><code>Cowsay.turkey</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function turkey()</code></pre><p>Turkey!</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Gobble, gobble", cow=Cowsay.turkey)
|
|
________________
|
|
< Gobble, gobble >
|
|
----------------
|
|
\ ,+*^^*+___+++_
|
|
\ ,*^^^^ )
|
|
\ _+* ^**+_
|
|
\ +^ _ _++*+_+++_, )
|
|
_+^^*+_ ( ,+*^ ^ \+_ )
|
|
{ ) ( ,( ,_+--+--, ^) ^\
|
|
{ (@) } f ,( ,+-^ __*_*_ ^^\_ ^\ )
|
|
{:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) /
|
|
( / ( ( ,___ ^*+_+* ) < < \
|
|
U _/ ) *--< ) ^\-----++__) ) ) )
|
|
( ) _(^)^^)) ) )\^^^^^))^*+/ / /
|
|
( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^
|
|
( ,/ (^))^)) ) ) ))^^^^^^^))^^) _)
|
|
*+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^
|
|
\ \_)^)_)) ))^^^^^^^^^^))^^^^)
|
|
(_ ^\__^^^^^^^^^^^^))^^^^^^^)
|
|
^\___ ^\__^^^^^^))^^^^^^^^)\\
|
|
^^^^^\uuu/^^\uuu/^^^^\^\^\^\^\^\^\^\
|
|
___) >____) >___ ^\_\_\_\_\_\_\)
|
|
^^^//\\_^^//\\_^ ^(\_\_\_\)
|
|
^^^ ^^ ^^^ ^</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/turkey.cow.jl#L4-37">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.turtle-Tuple{}" href="#Cowsay.turtle-Tuple{}"><code>Cowsay.turtle</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function turtle()</code></pre><p>A mysterious turtle...</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Where is that pesky rabbit?", cow=Cowsay.turtle)
|
|
_____________________________
|
|
< Where is that pesky rabbit? >
|
|
-----------------------------
|
|
\ ___-------___
|
|
\ _-~~ ~~-_
|
|
\ _-~ /~-_
|
|
/^\__/^\ /~ \ / \
|
|
/| O|| O| / \_______________/ \
|
|
| |___||__| / / \ \
|
|
| \ / / \ \
|
|
| (_______) /______/ \_________ \
|
|
| / / \ / \
|
|
\ \^\\ \ / \ /
|
|
\ || \______________/ _-_ //\__//
|
|
\ ||------_-~~-_ ------------- \ --/~ ~\ || __/
|
|
~-----||====/~ |==================| |/~~~~~
|
|
(_(__/ ./ / \_\ \.
|
|
(_(___/ \_____)_)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/turtle.cow.jl#L1-28">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.tux-Tuple{}" href="#Cowsay.tux-Tuple{}"><code>Cowsay.tux</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function tux()</code></pre><p>TuX (c) pborys@p-soft.silesia.linux.org.pl</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Talk is cheap. Show me the code.", cow=Cowsay.tux)
|
|
__________________________________
|
|
< Talk is cheap. Show me the code. >
|
|
----------------------------------
|
|
\
|
|
\
|
|
.--.
|
|
|o_o |
|
|
|:_/ |
|
|
// \ \
|
|
(| | )
|
|
/'\_ _/`\
|
|
\___)=(___/</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/tux.cow.jl#L4-26">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.udder-Tuple{}" href="#Cowsay.udder-Tuple{}"><code>Cowsay.udder</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function udder()</code></pre><p>The cow from a file called cow-n-horn, artist unknown.</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Milking time!", cow=Cowsay.udder)
|
|
_______________
|
|
< Milking time! >
|
|
---------------
|
|
\
|
|
\ (__)
|
|
o o\
|
|
('') \---------
|
|
\ \
|
|
| |\
|
|
||---( )_|| *
|
|
|| UU ||
|
|
== ==</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/udder.cow.jl#L1-23">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.vader-Tuple{}" href="#Cowsay.vader-Tuple{}"><code>Cowsay.vader</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function vader()</code></pre><p>Cowth Vader, from geordan@csua.berkeley.edu</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Luke, I am your father!", cow=Cowsay.vader)
|
|
_________________________
|
|
< Luke, I am your father! >
|
|
-------------------------
|
|
\ ,-^-.
|
|
\ !oYo!
|
|
\ /./=\.\______
|
|
## )\/\
|
|
||-----w||
|
|
|| ||
|
|
|
|
Cowth Vader</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/vader.cow.jl#L1-22">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.vader_koala-Tuple{}" href="#Cowsay.vader_koala-Tuple{}"><code>Cowsay.vader_koala</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function vader_koala</code></pre><p>Another canonical koala?</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("Luke, you are my joey!", cow=Cowsay.vader_koala)
|
|
________________________
|
|
< Luke, you are my joey! >
|
|
------------------------
|
|
\
|
|
\ .
|
|
.---. //
|
|
Y|o o|Y//
|
|
/_(i=i)K/
|
|
~()~*~()~
|
|
(_)-(_)
|
|
|
|
Darth
|
|
Vader
|
|
koala</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/vader-koala.cow.jl#L1-25">source</a></section></article><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="Cowsay.www-Tuple{}" href="#Cowsay.www-Tuple{}"><code>Cowsay.www</code></a> — <span class="docstring-category">Method</span><span class="is-flex-grow-1 docstring-article-toggle-button" title="Collapse docstring"></span></header><section><div><pre><code class="language-julia hljs">function www()</code></pre><p>A cow wadvertising the World Wide Web, from lim@csua.berkeley.edu</p><p><strong>Example</strong></p><pre><code class="language-julia-repl hljs">julia> cowsay("My favorite site is MooTube", cow=Cowsay.www)
|
|
_____________________________
|
|
< My favorite site is MooTube >
|
|
-----------------------------
|
|
\ ^__^
|
|
\ (oo)\_______
|
|
(__)\ )\/\
|
|
||--WWW |
|
|
|| ||</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://code.millironx.com/millironx/Cowsay.jl/src/commit/d28164f057fab2a889ca9c0d06d891e5dde29090/src/cows/www.cow.jl#L1-19">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="cowfiles.html">« Make your own Cowfile</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Tuesday 17 December 2024 06:21">Tuesday 17 December 2024</span>. Using Julia version 1.11.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
|