Skip to content

@mikefarah mikefarah released this May 16, 2019 · 10 commits to master since this release

Prefix Splat!

Fixes #218

Delete Splat!

Fixes #175

Support numeric keys

Fixes: #219 and #215

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.

e.g:

yq n thing[+].cat fred

will create an array under thing, whereas

yq n thing[0].cat fred

will create a map under thing, with a key '0'

Extra help description

From #242
Thanks @georgicodes

Assets 25
May 16, 2019
Improved handling of numeric keys
When there is no match at a given path, numeric keys are assumed to be strings.
To create an array '+' must be used.

e.g: yq n thing[+].cat fred
will create an array under thing, whereas
yq n thing[0].cat fred
will create a map under thing, with a key '0'
Mar 21, 2019
Increment version for new functionality
Jan 6, 2019
Bumb version
Nov 19, 2018
Bump version
Oct 25, 2018
Version bump
You can’t perform that action at this time.