(.js)
laraImport("weaver.Script");
(.lara)
import weaver.Script;
Classes:
Script
Utility methods related to execution of scripts in a LARA environment.
getInput()
Returns the input values passed using the flag -av
getOutput()
Reads the value set by Script.setOutput()
setOutput(value)
Sets the output of the script, which will be written to disk when using the flag -r