mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-05 09:04:58 +08:00
Fixing entries test
This commit is contained in:
@@ -98,7 +98,8 @@ KEY_a: 1
|
||||
KEY_b: 2
|
||||
```
|
||||
|
||||
Using with_entries is also useful whe you want to filter a map. Given a sample.yml file of:
|
||||
## Use with_entries to filter the map
|
||||
Given a sample.yml file of:
|
||||
```yaml
|
||||
a:
|
||||
b: bird
|
||||
@@ -113,4 +114,5 @@ will output
|
||||
```yaml
|
||||
a:
|
||||
b: bird
|
||||
```
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user