-
Notifications
You must be signed in to change notification settings - Fork 0
Command Piping
Hawkmax edited this page Mar 15, 2026
·
4 revisions
Command piping works very similarly to Command Batching
In fact, it is like batching, but with separate parameters for each command in the chain.
When used correctly, this feature becomes very powerful.
member: { "key": "$first:params|$second:params|$third:params" }
key: no implementation
Note
When using piping the $ref command can be omitted.
For example:$file:my/path|without/ref
// some_file.json located in 'datafiles'
{
"some_object": {}
}
{
"some_object": {
"some_function": "$env:do_something"
},
"ref_object1": "$file:some_file|$ref:some_object",
"ref_object2": "$file:some_file|some_object", // <-- $ref is not required
"copy_object": "$file:some_file|$copy:some_object",
"function_result": "$ref:some_object|$invoke:some_function"
}{
"some_object": {
"some_function": _function pointer_
},
"ref_object1": {}, // "$file:some_file|$ref:some_object"
"ref_object2": {}, // "$file:some_file|some_object"
"copy_object": {}, // "$file:some_file|$copy:some_object"
"function_result": "Hello World!" // "$ref:some_object|$invoke:some_function"
}Author’s Recommendation: next read Array Access
Back to Repo ● Wiki Home
Copyright © Maximilian Schwarz