Create, Collect into Object
Collect empty object
yq --null-input '{}'{}Wrap (prefix) existing object
name: Mikeyq '{"wrap": .}' sample.ymlwrap:
name: MikeUsing splat to create multiple objects
Working with multiple documents
Creating yaml from scratch
Creating yaml from scratch with multiple objects
Last updated