MCPcopy Create free account
hub / github.com/Ericsson/jaq / InputToCommands

Function InputToCommands

transform/transform.go:36–55  ·  view source on GitHub ↗

InputToCommands reads from the given io.Reader (e.g. os.Stdin) and uses the data there to replace values like $1.uuid in the args. It returns a [][]string which is a set of rows, each with a slice of string values.

(r io.Reader, args []string, explodeArrays bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestInputToCommandsFunction · 0.85

Calls 2

readDataFunction · 0.85
transformFunction · 0.85

Tested by 1

TestInputToCommandsFunction · 0.68