View Source Lightning.CLI.Result (Lightning v2.10.4)
Struct that wraps the output of an OpenFn CLI call.
Containing the keys:
start_time
end_time
status
logs
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
.
Types
Functions
Returns message
type log lines from a Result
.