mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-05 12:10:37 +00:00
Fixed header
This commit is contained in:
parent
6c347598ad
commit
a1db47122d
@ -76,7 +76,7 @@ To merge all given yaml files into one, use the `reduce` operator with the `*` (
|
|||||||
yq ea '. as $item ireduce ({}; . * $item )' file1.yml file2.yml ...
|
yq ea '. as $item ireduce ({}; . * $item )' file1.yml file2.yml ...
|
||||||
```
|
```
|
||||||
|
|
||||||
# Merge an array of objects by key
|
## Merge an array of objects by key
|
||||||
|
|
||||||
See [here](https://mikefarah.gitbook.io/yq/operators/multiply-merge#merge-arrays-of-objects-together-matching-on-a-key) for a working example.
|
See [here](https://mikefarah.gitbook.io/yq/operators/multiply-merge#merge-arrays-of-objects-together-matching-on-a-key) for a working example.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user