docs: add generated docs

docs-refactor
sammyette 2022-12-14 22:34:40 -04:00
parent 731f11b5ba
commit 3f60d9128d
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 17 additions and 0 deletions

View File

@ -29,3 +29,20 @@ or `load`, but is appropriated for the runner interface.
Runs a command in Hilbish's shell script interpreter.
This is the equivalent of using `source`.
## 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,
it must have the run function in it.
## 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
the user's current runner.