script_runner library

This is the primary library used for loading and running scripts.

Classes

RunnableScript
A runnable script with pre-defined name, cmd and args. May be run using the run command and optionally supplying extra arguments to pass.
ScriptRunnerConfig
The configuration for a script runner. See each field's documentation for more information.
ScriptRunnerShellConfig
Configuration for shell to use for running scripts.

Functions

runScript(String entryName, List<String> args) Future<int>
Runs a script with the given name, and any extra arguments. Returns the exit code.