Lightning.CLI.Result (Lightning v2.15.6)
View SourceStruct that wraps the output of an OpenFn CLI call.
Containing the keys:
start_timeend_timestatuslogs
Logs
The OpenFn CLI returns JSON formatted log lines, which are decoded and added
to a Result struct.
There are two kinds of output:
{"level":"<<level>>","name":"<<module>>","message":"..."],"time":<<timestamp>>}These are usually for general logging, and debugging.
{"message":["<<message|filepath|output>>"]}The above is the equivalent of the output of a command
Summary
Functions
Returns message type log lines from a Result.