Another +1 to replace this package with the version from mikefarah/yq. I
didn't even know that another yq version existed until I installed the yq
package in a Ubuntu version, which is tracking Debian of course. This
kislyuk/yq version bails out when trying to make use of the "load"
directive:
---------------
$ cat foo.yaml
chains:
- name: this
$ cat test.yaml
snafu:
- name: foo
$ kislyuk/yq -e '.chains += (load("foo.yaml") | .chains)'
test.yaml
jq: error: load/1 is not defined at <top-level>, line 1, column 13:
.chains += (load("foo.yaml") | .chains)
^^^^
jq: 1 compile error
---------------
The mikefarah version handles this just fine:
---------------
$ mikefarah/yq -e '.chains += (load("foo.yaml") | .chains)' test.yaml
snafu:
- name: foo
chains:
- name: this
---------------
Please reconsider.