2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-20 20:43:23 +00:00

deploy: b6a6f4d2765d21095c18b475af1d42d0e7a729d8

This commit is contained in:
sammy-ette 2025-04-03 02:07:22 +00:00
parent b72a34e3fc
commit 0fc074f0f6
6 changed files with 53 additions and 53 deletions

View File

@ -11,7 +11,7 @@ The <code>hilbish.message</code> type is a table with the following keys:
<code>summary</code> (string): A short summary of the <code>text</code>. <code>summary</code> (string): A short summary of the <code>text</code>.
<code>icon</code> (string): Unicode (preferably standard emoji) icon for the message notification <code>icon</code> (string): Unicode (preferably standard emoji) icon for the message notification
<code>read</code> (boolean): Whether the full message has been read or not.</p><h3 id=functions class=heading>Functions <code>read</code> (boolean): Whether the full message has been read or not.</p><h3 id=functions class=heading>Functions
<a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href=#unreadCount>unreadCount()</a></td><td>Returns the amount of unread messages.</td></tr><tr><td><a href=#readAll>readAll()</a></td><td>Marks all messages as read.</td></tr><tr><td><a href=#send>send(message)</a></td><td>Sends a message.</td></tr><tr><td><a href=#read>read(idx)</a></td><td>Marks a message at <code>idx</code> as read.</td></tr><tr><td><a href=#delete>delete(idx)</a></td><td>Deletes the message at <code>idx</code>.</td></tr><tr><td><a href=#clear>clear()</a></td><td>Deletes all messages.</td></tr><tr><td><a href=#all>all()</a></td><td>Returns all messages.</td></tr></tbody></table><hr><div id=all><h4 class=heading>hilbish.messages.all() <a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href=#unreadCount>unreadCount()</a></td><td>Returns the amount of unread messages.</td></tr><tr><td><a href=#send>send(message)</a></td><td>Sends a message.</td></tr><tr><td><a href=#readAll>readAll()</a></td><td>Marks all messages as read.</td></tr><tr><td><a href=#read>read(idx)</a></td><td>Marks a message at <code>idx</code> as read.</td></tr><tr><td><a href=#delete>delete(idx)</a></td><td>Deletes the message at <code>idx</code>.</td></tr><tr><td><a href=#clear>clear()</a></td><td>Deletes all messages.</td></tr><tr><td><a href=#all>all()</a></td><td>Returns all messages.</td></tr></tbody></table><hr><div id=all><h4 class=heading>hilbish.messages.all()
<a href=#all class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns all messages.</p><h5 id=parameters class=heading>Parameters <a href=#all class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns all messages.</p><h5 id=parameters class=heading>Parameters
<a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=clear><h4 class=heading>hilbish.messages.clear() <a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=clear><h4 class=heading>hilbish.messages.clear()
<a href=#clear class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Deletes all messages.</p><h5 id=parameters-1 class=heading>Parameters <a href=#clear class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Deletes all messages.</p><h5 id=parameters-1 class=heading>Parameters
@ -19,10 +19,10 @@ The <code>hilbish.message</code> type is a table with the following keys:
<a href=#delete class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Deletes the message at <code>idx</code>.</p><h5 id=parameters-2 class=heading>Parameters <a href=#delete class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Deletes the message at <code>idx</code>.</p><h5 id=parameters-2 class=heading>Parameters
<a href=#parameters-2 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>idx</code> <strong><code>number</code></strong></p></div><hr><div id=read><h4 class=heading>hilbish.messages.read(idx) <a href=#parameters-2 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>idx</code> <strong><code>number</code></strong></p></div><hr><div id=read><h4 class=heading>hilbish.messages.read(idx)
<a href=#read class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Marks a message at <code>idx</code> as read.</p><h5 id=parameters-3 class=heading>Parameters <a href=#read class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Marks a message at <code>idx</code> as read.</p><h5 id=parameters-3 class=heading>Parameters
<a href=#parameters-3 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>idx</code> <strong><code>number</code></strong></p></div><hr><div id=send><h4 class=heading>hilbish.messages.send(message) <a href=#parameters-3 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>idx</code> <strong><code>number</code></strong></p></div><hr><div id=readAll><h4 class=heading>hilbish.messages.readAll()
<a href=#send class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Sends a message.</p><h5 id=parameters-4 class=heading>Parameters <a href=#readAll class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Marks all messages as read.</p><h5 id=parameters-4 class=heading>Parameters
<a href=#parameters-4 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>message</code> <strong><code>hilbish.message</code></strong></p></div><hr><div id=readAll><h4 class=heading>hilbish.messages.readAll() <a href=#parameters-4 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=send><h4 class=heading>hilbish.messages.send(message)
<a href=#readAll class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Marks all messages as read.</p><h5 id=parameters-5 class=heading>Parameters <a href=#send class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Sends a message.</p><h5 id=parameters-5 class=heading>Parameters
<a href=#parameters-5 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=unreadCount><h4 class=heading>hilbish.messages.unreadCount() <a href=#parameters-5 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>message</code> <strong><code>hilbish.message</code></strong></p></div><hr><div id=unreadCount><h4 class=heading>hilbish.messages.unreadCount()
<a href=#unreadCount class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns the amount of unread messages.</p><h5 id=parameters-6 class=heading>Parameters <a href=#unreadCount class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns the amount of unread messages.</p><h5 id=parameters-6 class=heading>Parameters
<a href=#parameters-6 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html> <a href=#parameters-6 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>

View File

@ -28,34 +28,34 @@ shell script if fennel eval has an error.</p><div class=highlight><pre tabindex=
</span></span><span class=line><span class=ln>11</span><span class=cl> <span class=kr>return</span> <span class=n>hilbish.runner</span><span class=p>.</span><span class=n>sh</span><span class=p>(</span><span class=n>input</span><span class=p>)</span> </span></span><span class=line><span class=ln>11</span><span class=cl> <span class=kr>return</span> <span class=n>hilbish.runner</span><span class=p>.</span><span class=n>sh</span><span class=p>(</span><span class=n>input</span><span class=p>)</span>
</span></span><span class=line><span class=ln>12</span><span class=cl><span class=kr>end</span><span class=p>)</span> </span></span><span class=line><span class=ln>12</span><span class=cl><span class=kr>end</span><span class=p>)</span>
</span></span></code></pre></div><h3 id=functions class=heading>Functions </span></span></code></pre></div><h3 id=functions class=heading>Functions
<a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href=#runner.lua>lua(cmd)</a></td><td>Evaluates <code>cmd</code> as Lua input. This is the same as using <code>dofile</code></td></tr><tr><td><a href=#exec>exec(cmd, runnerName)</a></td><td>Executes <code>cmd</code> with a runner.</td></tr><tr><td><a href=#run>run(input, priv)</a></td><td>Runs <code>input</code> with the currently set Hilbish runner.</td></tr><tr><td><a href=#getCurrent>getCurrent()</a></td><td>Returns the current runner by name.</td></tr><tr><td><a href=#setCurrent>setCurrent(name)</a></td><td>Sets Hilbish&rsquo;s runner mode by name.</td></tr><tr><td><a href=#setMode>setMode(mode)</a></td><td><strong>NOTE: This function is deprecated and will be removed in 3.0</strong></td></tr><tr><td><a href=#sh>sh()</a></td><td>nil</td></tr><tr><td><a href=#add>add(name, runner)</a></td><td>Adds a runner to the table of available runners.</td></tr><tr><td><a href=#set>set(name, runner)</a></td><td><em>Sets</em> a runner by name. The difference between this function and</td></tr><tr><td><a href=#get>get(name)</a></td><td>Get a runner by name.</td></tr></tbody></table><hr><div id=runner.lua><h4 class=heading>hilbish.runner.lua(cmd) <a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href=#runner.lua>lua(cmd)</a></td><td>Evaluates <code>cmd</code> as Lua input. This is the same as using <code>dofile</code></td></tr><tr><td><a href=#sh>sh()</a></td><td>nil</td></tr><tr><td><a href=#setMode>setMode(mode)</a></td><td><strong>NOTE: This function is deprecated and will be removed in 3.0</strong></td></tr><tr><td><a href=#setCurrent>setCurrent(name)</a></td><td>Sets Hilbish&rsquo;s runner mode by name.</td></tr><tr><td><a href=#set>set(name, runner)</a></td><td><em>Sets</em> a runner by name. The difference between this function and</td></tr><tr><td><a href=#run>run(input, priv)</a></td><td>Runs <code>input</code> with the currently set Hilbish runner.</td></tr><tr><td><a href=#getCurrent>getCurrent()</a></td><td>Returns the current runner by name.</td></tr><tr><td><a href=#get>get(name)</a></td><td>Get a runner by name.</td></tr><tr><td><a href=#exec>exec(cmd, runnerName)</a></td><td>Executes <code>cmd</code> with a runner.</td></tr><tr><td><a href=#add>add(name, runner)</a></td><td>Adds a runner to the table of available runners.</td></tr></tbody></table><hr><div id=runner.lua><h4 class=heading>hilbish.runner.lua(cmd)
<a href=#runner.lua class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Evaluates <code>cmd</code> as Lua input. This is the same as using <code>dofile</code><br>or <code>load</code>, but is appropriated for the runner interface.</p><h5 id=parameters class=heading>Parameters <a href=#runner.lua class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Evaluates <code>cmd</code> as Lua input. This is the same as using <code>dofile</code><br>or <code>load</code>, but is appropriated for the runner interface.</p><h5 id=parameters class=heading>Parameters
<a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>string</code> <strong><code>cmd</code></strong></p></div><hr><div id=get><h4 class=heading>hilbish.runner.get(name) <a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>string</code> <strong><code>cmd</code></strong></p></div><hr><div id=add><h4 class=heading>hilbish.runner.add(name, runner)
<a href=#get class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Get a runner by name.</p><h5 id=parameters-1 class=heading>Parameters <a href=#add class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Adds a runner to the table of available runners.
<a href=#parameters-1 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong><br>Name of the runner to retrieve.</p></div><hr><div id=set><h4 class=heading>hilbish.runner.set(name, runner) If runner is a table, it must have the run function in it.</p><h5 id=parameters-1 class=heading>Parameters
<a href=#parameters-1 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong><br>Name of the runner</p><p><code>runner</code> <strong><code>function|table</code></strong></p></div><hr><div id=exec><h4 class=heading>hilbish.runner.exec(cmd, runnerName)
<a href=#exec class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Executes <code>cmd</code> with a runner.
If <code>runnerName</code> is not specified, it uses the default Hilbish runner.</p><h5 id=parameters-2 class=heading>Parameters
<a href=#parameters-2 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>cmd</code> <strong><code>string</code></strong></p><p><code>runnerName</code> <strong><code>string?</code></strong></p></div><hr><div id=get><h4 class=heading>hilbish.runner.get(name)
<a href=#get class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Get a runner by name.</p><h5 id=parameters-3 class=heading>Parameters
<a href=#parameters-3 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong><br>Name of the runner to retrieve.</p></div><hr><div id=getCurrent><h4 class=heading>hilbish.runner.getCurrent()
<a href=#getCurrent class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns the current runner by name.</p><h5 id=parameters-4 class=heading>Parameters
<a href=#parameters-4 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=run><h4 class=heading>hilbish.runner.run(input, priv)
<a href=#run class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Runs <code>input</code> with the currently set Hilbish runner.
This method is how Hilbish executes commands.
<code>priv</code> is an optional boolean used to state if the input should be saved to history.</p><h5 id=parameters-5 class=heading>Parameters
<a href=#parameters-5 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>input</code> <strong><code>string</code></strong></p><p><code>priv</code> <strong><code>bool</code></strong></p></div><hr><div id=set><h4 class=heading>hilbish.runner.set(name, runner)
<a href=#set class=heading-link><i class="fas fa-paperclip"></i></a></h4><p><em>Sets</em> a runner by name. The difference between this function and <a href=#set class=heading-link><i class="fas fa-paperclip"></i></a></h4><p><em>Sets</em> a runner by name. The difference between this function and
add, is set will <em>not</em> check if the named runner exists. add, is set will <em>not</em> check if the named runner exists.
The runner table must have the run function in it.</p><h5 id=parameters-2 class=heading>Parameters The runner table must have the run function in it.</p><h5 id=parameters-6 class=heading>Parameters
<a href=#parameters-2 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong></p><p><code>runner</code> <strong><code>table</code></strong></p></div><hr><div id=add><h4 class=heading>hilbish.runner.add(name, runner) <a href=#parameters-6 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong></p><p><code>runner</code> <strong><code>table</code></strong></p></div><hr><div id=setCurrent><h4 class=heading>hilbish.runner.setCurrent(name)
<a href=#add class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Adds a runner to the table of available runners. <a href=#setCurrent class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Sets Hilbish&rsquo;s runner mode by name.</p><h5 id=parameters-7 class=heading>Parameters
If runner is a table, it must have the run function in it.</p><h5 id=parameters-3 class=heading>Parameters <a href=#parameters-7 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong></p></div><hr><div id=setMode><h4 class=heading>hilbish.runner.setMode(mode)
<a href=#parameters-3 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong><br>Name of the runner</p><p><code>runner</code> <strong><code>function|table</code></strong></p></div><hr><div id=sh><h4 class=heading>hilbish.runner.sh()
<a href=#sh class=heading-link><i class="fas fa-paperclip"></i></a></h4><h5 id=parameters-4 class=heading>Parameters
<a href=#parameters-4 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=setMode><h4 class=heading>hilbish.runner.setMode(mode)
<a href=#setMode class=heading-link><i class="fas fa-paperclip"></i></a></h4><p><strong>NOTE: This function is deprecated and will be removed in 3.0</strong> <a href=#setMode class=heading-link><i class="fas fa-paperclip"></i></a></h4><p><strong>NOTE: This function is deprecated and will be removed in 3.0</strong>
Use <code>hilbish.runner.setCurrent</code> instead. Use <code>hilbish.runner.setCurrent</code> instead.
This is the same as the <code>hilbish.runnerMode</code> function. This is the same as the <code>hilbish.runnerMode</code> function.
It takes a callback, which will be used to execute all interactive input. It takes a callback, which will be used to execute all interactive input.
Or a string which names the runner mode to use.</p><h5 id=parameters-5 class=heading>Parameters Or a string which names the runner mode to use.</p><h5 id=parameters-8 class=heading>Parameters
<a href=#parameters-5 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>mode</code> <strong><code>string|function</code></strong></p></div><hr><div id=setCurrent><h4 class=heading>hilbish.runner.setCurrent(name) <a href=#parameters-8 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>mode</code> <strong><code>string|function</code></strong></p></div><hr><div id=sh><h4 class=heading>hilbish.runner.sh()
<a href=#setCurrent class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Sets Hilbish&rsquo;s runner mode by name.</p><h5 id=parameters-6 class=heading>Parameters <a href=#sh class=heading-link><i class="fas fa-paperclip"></i></a></h4><h5 id=parameters-9 class=heading>Parameters
<a href=#parameters-6 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>name</code> <strong><code>string</code></strong></p></div><hr><div id=getCurrent><h4 class=heading>hilbish.runner.getCurrent() <a href=#parameters-9 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>
<a href=#getCurrent class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Returns the current runner by name.</p><h5 id=parameters-7 class=heading>Parameters
<a href=#parameters-7 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><hr><div id=run><h4 class=heading>hilbish.runner.run(input, priv)
<a href=#run class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Runs <code>input</code> with the currently set Hilbish runner.
This method is how Hilbish executes commands.
<code>priv</code> is an optional boolean used to state if the input should be saved to history.</p><h5 id=parameters-8 class=heading>Parameters
<a href=#parameters-8 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>input</code> <strong><code>string</code></strong></p><p><code>priv</code> <strong><code>bool</code></strong></p></div><hr><div id=exec><h4 class=heading>hilbish.runner.exec(cmd, runnerName)
<a href=#exec class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Executes <code>cmd</code> with a runner.
If <code>runnerName</code> is not specified, it uses the default Hilbish runner.</p><h5 id=parameters-9 class=heading>Parameters
<a href=#parameters-9 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>cmd</code> <strong><code>string</code></strong></p><p><code>runnerName</code> <strong><code>string?</code></strong></p></div></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>

File diff suppressed because one or more lines are too long

View File

@ -6,13 +6,13 @@
used by the Greenhouse pager to render parts of the documentation pages. used by the Greenhouse pager to render parts of the documentation pages.
This is only documented for the sake of it. It&rsquo;s only intended use This is only documented for the sake of it. It&rsquo;s only intended use
is by the Greenhouse pager.</p><h3 id=functions class=heading>Functions is by the Greenhouse pager.</p><h3 id=functions class=heading>Functions
<a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href=#renderCodeBlock>renderCodeBlock(text)</a></td><td>Assembles and renders a code block. This returns</td></tr><tr><td><a href=#highlight>highlight(text)</a></td><td>Performs basic Lua code highlighting.</td></tr><tr><td><a href=#renderInfoBlock>renderInfoBlock(type, text)</a></td><td>Renders an info block. An info block is a block of text with</td></tr></tbody></table><hr><div id=renderInfoBlock><h4 class=heading>doc.renderInfoBlock(type, text) <a href=#functions class=heading-link><i class="fas fa-paperclip"></i></a></h3><table><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><a href=#renderInfoBlock>renderInfoBlock(type, text)</a></td><td>Renders an info block. An info block is a block of text with</td></tr><tr><td><a href=#renderCodeBlock>renderCodeBlock(text)</a></td><td>Assembles and renders a code block. This returns</td></tr><tr><td><a href=#highlight>highlight(text)</a></td><td>Performs basic Lua code highlighting.</td></tr></tbody></table><hr><div id=highlight><h4 class=heading>doc.highlight(text)
<a href=#renderInfoBlock class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Renders an info block. An info block is a block of text with <a href=#highlight class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Performs basic Lua code highlighting.</p><h5 id=parameters class=heading>Parameters
an icon and styled text block.</p><h5 id=parameters class=heading>Parameters <a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>text</code> <strong><code>string</code></strong><br>Code/text to do highlighting on.</p></div><hr><div id=renderCodeBlock><h4 class=heading>doc.renderCodeBlock(text)
<a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>type</code> <strong><code>string</code></strong><br>Type of info block. The only one specially styled is the <code>warning</code>.</p><p><code>text</code> <strong><code>string</code></strong></p></div><hr><div id=highlight><h4 class=heading>doc.highlight(text)
<a href=#highlight class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Performs basic Lua code highlighting.</p><h5 id=parameters-1 class=heading>Parameters
<a href=#parameters-1 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>text</code> <strong><code>string</code></strong><br>Code/text to do highlighting on.</p></div><hr><div id=renderCodeBlock><h4 class=heading>doc.renderCodeBlock(text)
<a href=#renderCodeBlock class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Assembles and renders a code block. This returns <a href=#renderCodeBlock class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Assembles and renders a code block. This returns
the supplied text based on the number of command line columns, the supplied text based on the number of command line columns,
and styles it to resemble a code block.</p><h5 id=parameters-2 class=heading>Parameters and styles it to resemble a code block.</p><h5 id=parameters-1 class=heading>Parameters
<a href=#parameters-2 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>text</code> <strong><code>string</code></strong></p></div></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html> <a href=#parameters-1 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>text</code> <strong><code>string</code></strong></p></div><hr><div id=renderInfoBlock><h4 class=heading>doc.renderInfoBlock(type, text)
<a href=#renderInfoBlock class=heading-link><i class="fas fa-paperclip"></i></a></h4><p>Renders an info block. An info block is a block of text with
an icon and styled text block.</p><h5 id=parameters-2 class=heading>Parameters
<a href=#parameters-2 class=heading-link><i class="fas fa-paperclip"></i></a></h5><p><code>type</code> <strong><code>string</code></strong><br>Type of info block. The only one specially styled is the <code>warning</code>.</p><p><code>text</code> <strong><code>string</code></strong></p></div></div><div class="footer mt-auto"><p class="card-small text-muted">Want to help improve this page? <a href=https://github.com/Rosettea/Hilbish/issues/new/choose>Create an issue.</a></p></div></container></div><footer class="footer mt-auto mt-auto py-3 bg-light row border-top"><div class="col mb-3"></div><div class="col mb-3"><a href=/Hilbish class="d-flex align-items-center mb-3 link-dark text-decoration-none"><img src=/Hilbish/hilbish-logo-and-text.png alt height=48 class="d-inline-block align-text-top" style=margin-left:-20px></a><ul class="nav flex-column"><li class="nav-item mb-2"><a href=/Hilbish class="nav-link p-0 text-muted">Home</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs/faq class="nav-link p-0 text-muted">FAQ</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish class="nav-link p-0 text-muted">Source</a></li><li class="nav-item mb-2"><a href=https://github.com/Rosettea/Hilbish/releases class="nav-link p-0 text-muted">Releases</a></li><li class="nav-item mb-2"><a href=/Hilbish/docs class="nav-link p-0 text-muted">Documentation</a></li></ul></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"></div><div class="col mb-3"><p class="text-muted mt-4">Rosettea &copy; 2022-2023<br>Made with <i class="fa-solid fa-heart" style=color:#f6345b></i></p></div><div class="col mb-3"></div></footer></body></html>

View File

@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nature on Hilbish</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/</link><description>Recent content in Nature on Hilbish</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://rosettea.github.io/Hilbish/versions/snail/docs/nature/index.xml" rel="self" type="application/rss+xml"/><item><title>Module dirs</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</guid><description>Introduction The dirs module defines a small set of functions to store and manage directories. <?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nature on Hilbish</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/</link><description>Recent content in Nature on Hilbish</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://rosettea.github.io/Hilbish/versions/snail/docs/nature/index.xml" rel="self" type="application/rss+xml"/><item><title>Module dirs</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</guid><description>Introduction The dirs module defines a small set of functions to store and manage directories.
Functions recent(idx) Get entry from recent directories list based on index. pop(num) Remove the specified amount of dirs from the recent directories list. peak(num) Look at num amount of recent directories, starting from the latest. push(dir) Add dir to the recent directories list. setOld(d) Sets the old directory string. dirs.setOld(d) Sets the old directory string.</description></item><item><title>Module doc</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</guid><description>Introduction The doc module contains a small set of functions used by the Greenhouse pager to render parts of the documentation pages. This is only documented for the sake of it. It&amp;rsquo;s only intended use is by the Greenhouse pager. Functions setOld(d) Sets the old directory string. recent(idx) Get entry from recent directories list based on index. push(dir) Add dir to the recent directories list. pop(num) Remove the specified amount of dirs from the recent directories list. peak(num) Look at num amount of recent directories, starting from the latest. dirs.peak(num) Look at num amount of recent directories, starting from the latest.</description></item><item><title>Module doc</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</guid><description>Introduction The doc module contains a small set of functions used by the Greenhouse pager to render parts of the documentation pages. This is only documented for the sake of it. It&amp;rsquo;s only intended use is by the Greenhouse pager.
Functions renderCodeBlock(text) Assembles and renders a code block. This returns highlight(text) Performs basic Lua code highlighting. renderInfoBlock(type, text) Renders an info block. An info block is a block of text with doc.</description></item></channel></rss> Functions renderInfoBlock(type, text) Renders an info block. An info block is a block of text with renderCodeBlock(text) Assembles and renders a code block. This returns highlight(text) Performs basic Lua code highlighting.</description></item></channel></rss>

View File

@ -46,8 +46,8 @@ You can download both at any time, but note that the development builds may have
For the latest stable release, check here: https://github.com/Rosettea/Hilbish/releases/latest For a development build: https://nightly.link/Rosettea/Hilbish/workflows/build/master Compiling To read the steps for compiling Hilbish, head over to the GitHub repository.</description></item><item><title>Module bait</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/bait/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/bait/</guid><description>Introduction Bait is the event emitter for Hilbish. Much like Node.js and its events system, many actions in Hilbish emit events. Unlike Node.js, Hilbish events are global. So make sure to pick a unique name! For the latest stable release, check here: https://github.com/Rosettea/Hilbish/releases/latest For a development build: https://nightly.link/Rosettea/Hilbish/workflows/build/master Compiling To read the steps for compiling Hilbish, head over to the GitHub repository.</description></item><item><title>Module bait</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/bait/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/bait/</guid><description>Introduction Bait is the event emitter for Hilbish. Much like Node.js and its events system, many actions in Hilbish emit events. Unlike Node.js, Hilbish events are global. So make sure to pick a unique name!
Usage of the Bait module consists of userstanding event-driven architecture, but it&amp;rsquo;s pretty simple: If you want to act on a certain event, you can catch it. You can act on events via callback functions.</description></item><item><title>Module commander</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/commander/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/commander/</guid><description>Introduction Commander is the library which handles Hilbish commands. This makes the user able to add Lua-written commands to their shell without making a separate script in a bin folder. Instead, you may simply use the Commander library in your Hilbish config. Usage of the Bait module consists of userstanding event-driven architecture, but it&amp;rsquo;s pretty simple: If you want to act on a certain event, you can catch it. You can act on events via callback functions.</description></item><item><title>Module commander</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/commander/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/commander/</guid><description>Introduction Commander is the library which handles Hilbish commands. This makes the user able to add Lua-written commands to their shell without making a separate script in a bin folder. Instead, you may simply use the Commander library in your Hilbish config.
1local commander = require &amp;#39;commander&amp;#39; 2 3commander.register(&amp;#39;hello&amp;#39;, function(args, sinks) 4 sinks.out:writeln &amp;#39;Hello world!&amp;#39; 5end) In this example, a command with the name of hello is created that will print Hello world!</description></item><item><title>Module dirs</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</guid><description>Introduction The dirs module defines a small set of functions to store and manage directories. 1local commander = require &amp;#39;commander&amp;#39; 2 3commander.register(&amp;#39;hello&amp;#39;, function(args, sinks) 4 sinks.out:writeln &amp;#39;Hello world!&amp;#39; 5end) In this example, a command with the name of hello is created that will print Hello world!</description></item><item><title>Module dirs</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/dirs/</guid><description>Introduction The dirs module defines a small set of functions to store and manage directories.
Functions recent(idx) Get entry from recent directories list based on index. pop(num) Remove the specified amount of dirs from the recent directories list. peak(num) Look at num amount of recent directories, starting from the latest. push(dir) Add dir to the recent directories list. setOld(d) Sets the old directory string. dirs.setOld(d) Sets the old directory string.</description></item><item><title>Module doc</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</guid><description>Introduction The doc module contains a small set of functions used by the Greenhouse pager to render parts of the documentation pages. This is only documented for the sake of it. It&amp;rsquo;s only intended use is by the Greenhouse pager. Functions setOld(d) Sets the old directory string. recent(idx) Get entry from recent directories list based on index. push(dir) Add dir to the recent directories list. pop(num) Remove the specified amount of dirs from the recent directories list. peak(num) Look at num amount of recent directories, starting from the latest. dirs.peak(num) Look at num amount of recent directories, starting from the latest.</description></item><item><title>Module doc</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/nature/doc/</guid><description>Introduction The doc module contains a small set of functions used by the Greenhouse pager to render parts of the documentation pages. This is only documented for the sake of it. It&amp;rsquo;s only intended use is by the Greenhouse pager.
Functions renderCodeBlock(text) Assembles and renders a code block. This returns highlight(text) Performs basic Lua code highlighting. renderInfoBlock(type, text) Renders an info block. An info block is a block of text with doc.</description></item><item><title>Module fs</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/fs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/fs/</guid><description>Introduction The fs module provides filesystem functions to Hilbish. While Lua&amp;rsquo;s standard library has some I/O functions, they&amp;rsquo;re missing a lot of the basics. The fs library offers more functions and will work on any operating system Hilbish does. Functions renderInfoBlock(type, text) Renders an info block. An info block is a block of text with renderCodeBlock(text) Assembles and renders a code block. This returns highlight(text) Performs basic Lua code highlighting.</description></item><item><title>Module fs</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/fs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/fs/</guid><description>Introduction The fs module provides filesystem functions to Hilbish. While Lua&amp;rsquo;s standard library has some I/O functions, they&amp;rsquo;re missing a lot of the basics. The fs library offers more functions and will work on any operating system Hilbish does.
Functions abs(path) -&amp;gt; string Returns an absolute version of the path. basename(path) -&amp;gt; string Returns the &amp;ldquo;basename,&amp;rdquo; or the last part of the provided path. If path is empty, cd(dir) Changes Hilbish&amp;rsquo;s directory to dir.</description></item><item><title>Module hilbish.aliases</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.aliases/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.aliases/</guid><description>Introduction The alias interface deals with all command aliases in Hilbish. Functions abs(path) -&amp;gt; string Returns an absolute version of the path. basename(path) -&amp;gt; string Returns the &amp;ldquo;basename,&amp;rdquo; or the last part of the provided path. If path is empty, cd(dir) Changes Hilbish&amp;rsquo;s directory to dir.</description></item><item><title>Module hilbish.aliases</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.aliases/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.aliases/</guid><description>Introduction The alias interface deals with all command aliases in Hilbish.
Functions add(alias, cmd) This is an alias (ha) for the hilbish.alias function. delete(name) Removes an alias. list() -&amp;gt; table[string, string] Get a table of all aliases, with string keys as the alias and the value as the command. resolve(alias) -&amp;gt; string? Resolves an alias to its original command. Will thrown an error if the alias doesn&amp;rsquo;t exist. hilbish.aliases.add(alias, cmd) This is an alias (ha) for the hilbish.</description></item><item><title>Module hilbish.completion</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.completion/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.completion/</guid><description>Introduction The completions interface deals with tab completions. Functions add(alias, cmd) This is an alias (ha) for the hilbish.alias function. delete(name) Removes an alias. list() -&amp;gt; table[string, string] Get a table of all aliases, with string keys as the alias and the value as the command. resolve(alias) -&amp;gt; string? Resolves an alias to its original command. Will thrown an error if the alias doesn&amp;rsquo;t exist. hilbish.aliases.add(alias, cmd) This is an alias (ha) for the hilbish.</description></item><item><title>Module hilbish.completion</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.completion/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.completion/</guid><description>Introduction The completions interface deals with tab completions.
Functions bins(query, ctx, fields) -&amp;gt; entries (table), prefix (string) Return binaries/executables based on the provided parameters. call(name, query, ctx, fields) -&amp;gt; completionGroups (table), prefix (string) Calls a completer function. This is mainly used to call a command completer, which will have a name files(query, ctx, fields) -&amp;gt; entries (table), prefix (string) Returns file matches based on the provided parameters. handler(line, pos) This function contains the general completion handler for Hilbish.</description></item><item><title>Module hilbish.editor</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.editor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.editor/</guid><description>Introduction The hilbish.editor interface provides functions to directly interact with the line editor in use. Functions bins(query, ctx, fields) -&amp;gt; entries (table), prefix (string) Return binaries/executables based on the provided parameters. call(name, query, ctx, fields) -&amp;gt; completionGroups (table), prefix (string) Calls a completer function. This is mainly used to call a command completer, which will have a name files(query, ctx, fields) -&amp;gt; entries (table), prefix (string) Returns file matches based on the provided parameters. handler(line, pos) This function contains the general completion handler for Hilbish.</description></item><item><title>Module hilbish.editor</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.editor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/hilbish/hilbish.editor/</guid><description>Introduction The hilbish.editor interface provides functions to directly interact with the line editor in use.