KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("weaver.Script");

(.lara)
import weaver.Script;

Script

Script

Script

Utility methods related to execution of scripts in a LARA environment.


Static Members

getInput

getInput()

Returns the input values passed using the flag -av

Returns

Object - an object with the input arguments passed by command line

getOutput

getOutput()

Reads the value set by Script.setOutput()

Returns

any - the value set by Script.setOutput()

setOutput

setOutput(value)

Sets the output of the script, which will be written to disk when using the flag -r

Parameters

value: any - the output of this script