From 3f60d9128d9d5a66fdfb0643ceab1b15c3d38737 Mon Sep 17 00:00:00 2001 From: sammyette Date: Wed, 14 Dec 2022 22:34:40 -0400 Subject: [PATCH] docs: add generated docs --- docs/api/hilbish/hilbish.runner.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/api/hilbish/hilbish.runner.md b/docs/api/hilbish/hilbish.runner.md index 68ffdc6..ec8a652 100644 --- a/docs/api/hilbish/hilbish.runner.md +++ b/docs/api/hilbish/hilbish.runner.md @@ -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. +