mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-24 14:45:39 +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
|
||||
|
||||
Read a value:
|
||||
|
||||
```bash
|
||||
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' -
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user