Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.Sign up
Support numeric keys
Note there is a (slight) backwards incompatible change.
When there is no match at a given path, numeric keys are assumed to be strings.
To create an array '+' must be used.
yq n thing[+].cat fred
will create an array under thing, whereas
yq n thing.cat fred
will create a map under thing, with a key '0'
Extra help description
- Adds --allow-empty flag to merge command to fix #205
Thanks @Ruenzuo !