Create
yq n <path_expression> <new value>Creating a simple yaml file
yq n b.c catb:
c: catCreating using a create script
- command: update
path: b.c
value:
#great
things: frog # wow!Last updated