View Source Lightning.CLI (Lightning v2.10.4)

Module providing facilities to make calls to the OpenFn CLI.

See @openfn/cli

Summary

Functions

Execute a command in a child process and parse the results.

Retrieve metadata for a given adaptor and configuration.

Functions

@spec execute(command :: String.t()) :: Lightning.CLI.Result.t()

Execute a command in a child process and parse the results.

Link to this function

metadata(state, adaptor_path)

View Source
@spec metadata(state :: map(), adaptor_path :: String.t()) :: Lightning.CLI.Result.t()

Retrieve metadata for a given adaptor and configuration.