yq
yq copied to clipboard
yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor
**Describe the bug** OSX Version: v4.40.5 ``` cat test.yaml test: this: cool ➜ yq -i '.test.this = "bla: bla\ntwice: bla"' test.yaml ➜ cat test.yaml test: this: |- bla: bla twice:...
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.24.0 to 0.25.0. Commits d27919b go.mod: update golang.org/x dependencies e0324fc http2: use net.ErrClosed b20cd59 quic: initiate key rotation earlier in connections f95a3b3 html: fix typo in package...
**Please describe your feature request.** I wish I could use yq to evaluate a file with ytt annotations **Describe the solution you'd like** If we have input.yml like: (please keep...
``` I want to append an entry in namespaceAdmin,namespaceDebugger in the below yaml file using yq. Basically it has got multiple patches and I want to make changes in some...
This feels like it might be trivial, apologies if it is. If I can filter down to a map in the form: ``` filename1.json: {"some":"json"} filename2.json: {"some":"json"} ``` how can...
**Describe the bug** A clear and concise description of what the bug is. Note that any how to questions should be posted in the discussion board and not raised as...
**Describe the bug** If removing multiple elements from an array, it seems like `yq` is computing where they are before doing any of the modifications, then removing those indicies, but...
**Describe the bug** When using a wildcard (asterisk or splat), which matches a key with hyphen, the command fails. The key is unknown at the start and so need to...
**Describe the bug** ``` ❯ cat good.yaml test: "{\n a: () => {\n a.a(\"a\");\n a();\n },\n a: () => {\n }\n}" ❯ yq '.test style="literal"' good.yaml test: |- { a:...
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.16.0 to 1.17.0. Release notes Sourced from github.com/fatih/color's releases. v1.17.0 What's Changed Fix multi-parameter println spacing by @klauspost in fatih/color#228 ci: update Go and Staticcheck versions by...