diff --git a/docs/api/hilbish/hilbish.runner/index.html b/docs/api/hilbish/hilbish.runner/index.html index 2e6f3434..4778e22a 100644 --- a/docs/api/hilbish/hilbish.runner/index.html +++ b/docs/api/hilbish/hilbish.runner/index.html @@ -28,26 +28,10 @@ shell script if fennel eval has an error.
11 return hilbish.runner.sh(input)
12end)
| 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. |
| exec(cmd, runnerName) | Executes cmd with a runner. |
| set(name, runner) | Sets a runner by name. The difference between this function and |
| get(name) | Get a runner by name. |
| add(name, runner) | Adds a runner to the table of available runners. |
| setCurrent(name) | Sets Hilbish’s runner mode by name. |
| getCurrent() | Returns the current runner by name. |
| 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. |
This is the same as the hilbish.runnerMode function.
It takes a callback, which will be used to execute all interactive input.
In normal cases, neither callbacks should be overrided by the user,
as the higher level functions listed below this will handle it.
function cb
Evaluates cmd as Lua input. This is the same as using dofile
or load, but is appropriated for the runner interface.
string cmd
Runs a command in Hilbish’s shell script interpreter.
This is the equivalent of using source.
string cmd
Returns the current runner by name.
This function has no parameters.
Adds a runner to the table of available runners. -If runner is a table, it must have the run function in it.
name string
Name of the runner
runner function|table
Get a runner by name.
name string
Name of the runner to retrieve.
Sets a runner by name. The difference between this function and -add, is set will not check if the named runner exists. -The runner table must have the run function in it.
name string
runner table