From 7b42dd3d360dd18cdabe3890e204908c8761164e Mon Sep 17 00:00:00 2001 From: TorchedSammy Date: Tue, 24 Dec 2024 22:59:52 +0000 Subject: [PATCH] deploy: b74db7b8227d2b4c1a0c255ce35e90f2d3c0e2b7 --- .../document-lua/docs/api/hilbish/hilbish.runner/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/document-lua/docs/api/hilbish/hilbish.runner/index.html b/versions/document-lua/docs/api/hilbish/hilbish.runner/index.html index 95b4760..5a9ccf3 100644 --- a/versions/document-lua/docs/api/hilbish/hilbish.runner/index.html +++ b/versions/document-lua/docs/api/hilbish/hilbish.runner/index.html @@ -28,7 +28,7 @@ shell script if fennel eval has an error.

11	return hilbish.runner.sh(input)
 12end)
 

Functions -

setMode(cb)This is the same as the hilbish.runnerMode function.
lua(cmd)Evaluates cmd as Lua input. This is the same as using dofile
sh(cmd)Runs a command in Hilbish’s shell script interpreter.
hilbish.runner.getCurrent()Returns the current runner by name.
hilbish.runner.setCurrent(name)Sets the current interactive/command line runner mode.
hilbish.runner.add(name, runner)Adds a runner to the table of available runners. If runner is a table,
hilbish.runner.get(name)Get a runner by name.
hilbish.runner.set(name, runner)Sets a runner by name. The runner table must have the run function in it.
hilbish.runner.exec(cmd, runnerName)Executes cmd with a runner. If runnerName isn’t passed, it uses

Evaluates cmd as Lua input. This is the same as using dofile
or load, but is appropriated for the runner interface.

Parameters +
setMode(cb)This is the same as the hilbish.runnerMode function.
lua(cmd)Evaluates cmd as Lua input. This is the same as using dofile
sh(cmd)Runs a command in Hilbish’s shell script interpreter.
getCurrent()Returns the current runner by name.
setCurrent(name)Sets the current interactive/command line runner mode.
add(name, runner)Adds a runner to the table of available runners. If runner is a table,
get(name)Get a runner by name.
set(name, runner)Sets a runner by name. The runner table must have the run function in it.
exec(cmd, runnerName)Executes cmd with a runner. If runnerName isn’t passed, it uses
d)

Evaluates cmd as Lua input. This is the same as using dofile
or load, but is appropriated for the runner interface.

Parameters

string cmd


hilbish.runner.sh(cmd)

Runs a command in Hilbish’s shell script interpreter.
This is the equivalent of using source.

Parameters

string cmd


hilbish.runner.getCurrent()