From ed98b484137fe693acc2b1d32857d2d5f3a1ecc2 Mon Sep 17 00:00:00 2001 From: sammy-ette Date: Sun, 22 Jun 2025 23:39:37 +0000 Subject: [PATCH] deploy: 54ba9c26e0f09b41aa042a215d4a51fa3b1648b1 --- versions/new-website/docs/api/bait/index.html | 20 +++--- .../new-website/docs/api/commander/index.html | 12 ++-- versions/new-website/docs/api/fs/index.html | 44 ++++++------- .../new-website/docs/api/hilbish/index.html | 64 +++++++++---------- .../new-website/docs/api/readline/index.html | 4 +- .../new-website/docs/api/snail/index.html | 4 +- .../new-website/docs/api/terminal/index.html | 16 ++--- versions/new-website/docs/api/yarn/index.html | 4 +- 8 files changed, 84 insertions(+), 84 deletions(-) diff --git a/versions/new-website/docs/api/bait/index.html b/versions/new-website/docs/api/bait/index.html index 9cc8d670..da0abecc 100644 --- a/versions/new-website/docs/api/bait/index.html +++ b/versions/new-website/docs/api/bait/index.html @@ -16,24 +16,24 @@ this function will set the user prompt.

catch(name, cb) -Catches an event. This function can be used to act on events. +catch(name, cb) +Catches an event. This function can be used to act on events. -catchOnce(name, cb) -Catches an event, but only once. This will remove the hook immediately after it runs for the first time. +catchOnce(name, cb) +Catches an event, but only once. This will remove the hook immediately after it runs for the first time. -hooks(name) -> table -Returns a table of functions that are hooked on an event with the corresponding `name`. +hooks(name) -> table +Returns a table of functions that are hooked on an event with the corresponding `name`. -release(name, catcher) -Removes the `catcher` for the event with `name`. +release(name, catcher) +Removes the `catcher` for the event with `name`. -throw(name, ...args) -Throws a hook with `name` with the provided `args`. +throw(name, ...args) +Throws a hook with `name` with the provided `args`. diff --git a/versions/new-website/docs/api/commander/index.html b/versions/new-website/docs/api/commander/index.html index b7c9ef65..5a752c8b 100644 --- a/versions/new-website/docs/api/commander/index.html +++ b/versions/new-website/docs/api/commander/index.html @@ -19,16 +19,16 @@ In the future, sinks.in -deregister(name) -Removes the named command. Note that this will only remove Commander-registered commands. +deregister(name) +Removes the named command. Note that this will only remove Commander-registered commands. -register(name, cb) -Adds a new command with the given `name`. When Hilbish has to run a command with a name, +register(name, cb) +Adds a new command with the given `name`. When Hilbish has to run a command with a name, -registry() -> table -Returns all registered commanders. Returns a list of tables with the following keys: +registry() -> table +Returns all registered commanders. Returns a list of tables with the following keys: diff --git a/versions/new-website/docs/api/fs/index.html b/versions/new-website/docs/api/fs/index.html index 3e8e044d..579b6dbd 100644 --- a/versions/new-website/docs/api/fs/index.html +++ b/versions/new-website/docs/api/fs/index.html @@ -5,44 +5,44 @@ library offers more functions and will work on any operating system Hilbish does - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
abs(path) -> stringReturns an absolute version of the `path`.abs(path) -> stringReturns an absolute version of the `path`.
basename(path) -> stringReturns the "basename," or the last part of the provided `path`. If path is empty,basename(path) -> stringReturns the "basename," or the last part of the provided `path`. If path is empty,
cd(dir)Changes Hilbish's directory to `dir`.cd(dir)Changes Hilbish's directory to `dir`.
dir(path) -> stringReturns the directory part of `path`. If a file path likedir(path) -> stringReturns the directory part of `path`. If a file path like
glob(pattern) -> matches (table)Match all files based on the provided `pattern`.glob(pattern) -> matches (table)Match all files based on the provided `pattern`.
join(...path) -> stringTakes any list of paths and joins them based on the operating system's path separator.join(...path) -> stringTakes any list of paths and joins them based on the operating system's path separator.
mkdir(name, recursive)Creates a new directory with the provided `name`.mkdir(name, recursive)Creates a new directory with the provided `name`.
fpipe() -> File, FileReturns a pair of connected files, also known as a pipe.fpipe() -> File, FileReturns a pair of connected files, also known as a pipe.
readdir(path) -> table[string]Returns a list of all files and directories in the provided path.readdir(path) -> table[string]Returns a list of all files and directories in the provided path.
stat(path) -> {}Returns the information about a given `path`.stat(path) -> {}Returns the information about a given `path`.
@@ -50,8 +50,8 @@ library offers more functions and will work on any operating system Hilbish does - - + +
pathSepThe operating system's path separator.pathSepThe operating system's path separator.
diff --git a/versions/new-website/docs/api/hilbish/index.html b/versions/new-website/docs/api/hilbish/index.html index d18f59ea..bc6aa21c 100644 --- a/versions/new-website/docs/api/hilbish/index.html +++ b/versions/new-website/docs/api/hilbish/index.html @@ -3,68 +3,68 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
alias(cmd, orig)Sets an alias, with a name of `cmd` to another command.alias(cmd, orig)Sets an alias, with a name of `cmd` to another command.
appendPath(dir)Appends the provided dir to the command path (`$PATH`)appendPath(dir)Appends the provided dir to the command path (`$PATH`)
complete(scope, cb)Registers a completion handler for the specified scope.complete(scope, cb)Registers a completion handler for the specified scope.
cwd() -> stringReturns the current directory of the shell.cwd() -> stringReturns the current directory of the shell.
exec(cmd)Replaces the currently running Hilbish instance with the supplied command.exec(cmd)Replaces the currently running Hilbish instance with the supplied command.
goro(fn)Puts `fn` in a Goroutine.goro(fn)Puts `fn` in a Goroutine.
highlighter(line)Line highlighter handler.highlighter(line)Line highlighter handler.
hinter(line, pos)The command line hint handler. It gets called on every key insert tohinter(line, pos)The command line hint handler. It gets called on every key insert to
inputMode(mode)Sets the input mode for Hilbish's line reader.inputMode(mode)Sets the input mode for Hilbish's line reader.
interval(cb, time) -> @TimerRuns the `cb` function every specified amount of `time`.interval(cb, time) -> @TimerRuns the `cb` function every specified amount of `time`.
multiprompt(str)Changes the text prompt when Hilbish asks for more input.multiprompt(str)Changes the text prompt when Hilbish asks for more input.
prependPath(dir)Prepends `dir` to $PATH.prependPath(dir)Prepends `dir` to $PATH.
prompt(str, typ)Changes the shell prompt to the provided string.prompt(str, typ)Changes the shell prompt to the provided string.
read(prompt) -> input (string)Read input from the user, using Hilbish's line editor/input reader.read(prompt) -> input (string)Read input from the user, using Hilbish's line editor/input reader.
timeout(cb, time) -> @TimerExecuted the `cb` function after a period of `time`.timeout(cb, time) -> @TimerExecuted the `cb` function after a period of `time`.
which(name) -> stringChecks if `name` is a valid command.which(name) -> stringChecks if `name` is a valid command.
diff --git a/versions/new-website/docs/api/readline/index.html b/versions/new-website/docs/api/readline/index.html index f2e0e619..fb2f828e 100644 --- a/versions/new-website/docs/api/readline/index.html +++ b/versions/new-website/docs/api/readline/index.html @@ -7,8 +7,8 @@ is usable at hilbish.editor -new() -> @Readline -Creates a new readline instance. +new() -> @Readline +Creates a new readline instance. diff --git a/versions/new-website/docs/api/snail/index.html b/versions/new-website/docs/api/snail/index.html index 01d404d5..6e83f7b8 100644 --- a/versions/new-website/docs/api/snail/index.html +++ b/versions/new-website/docs/api/snail/index.html @@ -5,8 +5,8 @@ Hilbish functions.

new() -> @Snail -Creates a new Snail instance. +new() -> @Snail +Creates a new Snail instance. diff --git a/versions/new-website/docs/api/terminal/index.html b/versions/new-website/docs/api/terminal/index.html index e26e839b..fd67b32f 100644 --- a/versions/new-website/docs/api/terminal/index.html +++ b/versions/new-website/docs/api/terminal/index.html @@ -3,20 +3,20 @@ - - + + - - + + - - + + - - + +
restoreState()Restores the last saved state of the terminalrestoreState()Restores the last saved state of the terminal
saveState()Saves the current state of the terminal.saveState()Saves the current state of the terminal.
setRaw()Puts the terminal into raw mode.setRaw()Puts the terminal into raw mode.
size()Gets the dimensions of the terminal. Returns a table with `width` and `height`size()Gets the dimensions of the terminal. Returns a table with `width` and `height`
diff --git a/versions/new-website/docs/api/yarn/index.html b/versions/new-website/docs/api/yarn/index.html index 79a26f40..4f998ec0 100644 --- a/versions/new-website/docs/api/yarn/index.html +++ b/versions/new-website/docs/api/yarn/index.html @@ -10,8 +10,8 @@ t 'printing from another lua state!' - - + +
thread(fun) -> @ThreadCreates a new, fresh Yarn thread.thread(fun) -> @ThreadCreates a new, fresh Yarn thread.