yq/pkg/yqlib/doc/operators/headers/with.md

260 B

With

Use the with operator to conveniently make multiple updates to a deeply nested path, or to update array elements relatively to each other. The first argument expression sets the root context, and the second expression runs against that root context.