mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-24 23:35:40 +00:00
minor readme cleanup
This commit is contained in:
parent
91018683bf
commit
7caefc8521
@ -10,10 +10,12 @@ yq is written in go - so you can download a dependency free binary for your plat
|
|||||||
## Quick Usage Guide
|
## Quick Usage Guide
|
||||||
|
|
||||||
Read a value:
|
Read a value:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yq e '.a.b[0].c' file.yaml
|
yq e '.a.b[0].c' file.yaml
|
||||||
# alternatively, use '-' as the filename to read from STDIN
|
```
|
||||||
|
|
||||||
|
Pipe from STDIN:
|
||||||
|
```bash
|
||||||
cat file.yaml | yq e '.a.b[0].c' -
|
cat file.yaml | yq e '.a.b[0].c' -
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user