mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-20 20:43:23 +00:00
deploy: 90e6afc22fbd1eb8d65400c1634824ddf1a6fe28
This commit is contained in:
parent
ff86f54971
commit
6d3cf1ce8c
@ -5,6 +5,6 @@ Functions abs(path) -> string Returns an absolute version of the path. ba
|
|||||||
Functions new() -> @Snail Creates a new Snail instance. snail.new() -> Snail Creates a new Snail instance.
|
Functions new() -> @Snail Creates a new Snail instance. snail.new() -> Snail Creates a new Snail instance.
|
||||||
Parameters This function has no parameters.
|
Parameters This function has no parameters.
|
||||||
Types Snail A Snail is a shell script interpreter instance.
|
Types Snail A Snail is a shell script interpreter instance.
|
||||||
Methods run(command, streams) Runs a shell command.</description></item><item><title>Module terminal</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</guid><description>Introduction The terminal library is a simple and lower level library for certain terminal interactions.
|
Methods dir(path) Changes the directory of the snail instance.</description></item><item><title>Module terminal</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</guid><description>Introduction The terminal library is a simple and lower level library for certain terminal interactions.
|
||||||
Functions restoreState() Restores the last saved state of the terminal saveState() Saves the current state of the terminal. setRaw() Puts the terminal into raw mode. size() Gets the dimensions of the terminal. Returns a table with width and height terminal.restoreState() Restores the last saved state of the terminal
|
Functions restoreState() Restores the last saved state of the terminal saveState() Saves the current state of the terminal. setRaw() Puts the terminal into raw mode. size() Gets the dimensions of the terminal. Returns a table with width and height terminal.restoreState() Restores the last saved state of the terminal
|
||||||
Parameters This function has no parameters.</description></item></channel></rss>
|
Parameters This function has no parameters.</description></item></channel></rss>
|
@ -10,5 +10,8 @@ Hilbish functions.</p><h3 id=functions class=heading>Functions
|
|||||||
<a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><h3 id=types class=heading>Types
|
<a href=#parameters class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>This function has no parameters.</p></div><h3 id=types class=heading>Types
|
||||||
<a href=#types class=heading-link><i class="fas fa-paperclip"></i></a></h3><hr><h3 id=snail class=heading>Snail
|
<a href=#types class=heading-link><i class="fas fa-paperclip"></i></a></h3><hr><h3 id=snail class=heading>Snail
|
||||||
<a href=#snail class=heading-link><i class="fas fa-paperclip"></i></a></h3><p>A Snail is a shell script interpreter instance.</p><h4 id=methods class=heading>Methods
|
<a href=#snail class=heading-link><i class="fas fa-paperclip"></i></a></h3><p>A Snail is a shell script interpreter instance.</p><h4 id=methods class=heading>Methods
|
||||||
<a href=#methods class=heading-link><i class="fas fa-paperclip"></i></a></h4><h5 id=runcommand-streams class=heading>run(command, streams)
|
<a href=#methods class=heading-link><i class="fas fa-paperclip"></i></a></h4><h5 id=dirpath class=heading>dir(path)
|
||||||
<a href=#runcommand-streams class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Runs a shell command. Works the same as <code>hilbish.run</code>.</p></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 © 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=#dirpath class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Changes the directory of the snail instance.
|
||||||
|
The interpreter keeps its set directory even when the Hilbish process changes
|
||||||
|
directory, so this should be called on the <code>hilbish.cd</code> hook.</p><h5 id=runcommand-streams class=heading>run(command, streams)
|
||||||
|
<a href=#runcommand-streams class=heading-link><i class="fas fa-paperclip"></i></a></h5><p>Runs a shell command. Works the same as <code>hilbish.run</code>, but only accepts a table of streams.</p></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 © 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>
|
@ -66,7 +66,7 @@ Static module fields config The user&rsquo;s config directory data The user&
|
|||||||
Functions new() -&gt; @Snail Creates a new Snail instance. snail.new() -> Snail Creates a new Snail instance.
|
Functions new() -&gt; @Snail Creates a new Snail instance. snail.new() -> Snail Creates a new Snail instance.
|
||||||
Parameters This function has no parameters.
|
Parameters This function has no parameters.
|
||||||
Types Snail A Snail is a shell script interpreter instance.
|
Types Snail A Snail is a shell script interpreter instance.
|
||||||
Methods run(command, streams) Runs a shell command.</description></item><item><title>Module terminal</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</guid><description>Introduction The terminal library is a simple and lower level library for certain terminal interactions.
|
Methods dir(path) Changes the directory of the snail instance.</description></item><item><title>Module terminal</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/api/terminal/</guid><description>Introduction The terminal library is a simple and lower level library for certain terminal interactions.
|
||||||
Functions restoreState() Restores the last saved state of the terminal saveState() Saves the current state of the terminal. setRaw() Puts the terminal into raw mode. size() Gets the dimensions of the terminal. Returns a table with width and height terminal.restoreState() Restores the last saved state of the terminal
|
Functions restoreState() Restores the last saved state of the terminal saveState() Saves the current state of the terminal. setRaw() Puts the terminal into raw mode. size() Gets the dimensions of the terminal. Returns a table with width and height terminal.restoreState() Restores the last saved state of the terminal
|
||||||
Parameters This function has no parameters.</description></item><item><title>Notification</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/features/notifications/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/features/notifications/</guid><description>Hilbish features a simple notification system which can be used by other plugins and parts of the shell to notify the user of various actions. This is used via the hilbish.message interface.
|
Parameters This function has no parameters.</description></item><item><title>Notification</title><link>https://rosettea.github.io/Hilbish/versions/snail/docs/features/notifications/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://rosettea.github.io/Hilbish/versions/snail/docs/features/notifications/</guid><description>Hilbish features a simple notification system which can be used by other plugins and parts of the shell to notify the user of various actions. This is used via the hilbish.message interface.
|
||||||
A message is defined as a table with the following properties:
|
A message is defined as a table with the following properties:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user