%() multimethod

Methods

%()(cp:CommandsPipeline) Source: stdlib.ngs:5332
Returns cp, wihout any processing. Convenient way to pass ready-to-run Command as an argument

Automatically called by NGS for syntax

%(my_command) , %(my_command | my_other_command)

Example

F run_when_needed(cp:CommandsPipeline) { ... $(cp) ... }
...
run_when_needed(%(ls >/tmp/my_ls))