Some way to support single, inline pipeline at CLI cuetils pipeline '{ @extact() a: b: _ } ~ { @mask() c: _ } ~ { @canonical _ }' *.json. What should the separator be? (~, ;), should not be an existing token used ambiguously in that context (like |). Will have to do some processing to make each segment valid CUE (like line break after @op(), first { and last } should be sufficient?
Implement a pipeline command
cue/tools/flow
@pick()
...@op()
@print()
and@write()
cuetils pipeline '{ @extact() a: b: _ } ~ { @mask() c: _ } ~ { @canonical _ }' *.json
. What should the separator be? (~
,;
), should not be an existing token used ambiguously in that context (like|
). Will have to do some processing to make each segment valid CUE (like line break after@op()
, first{
and last}
should be sufficient?