mirror of
https://github.com/mikefarah/yq.git
synced 2025-03-09 18:35:36 +00:00
Updated readme
This commit is contained in:
parent
6a35a5f382
commit
bcf2ee8bcc
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,3 +22,4 @@ _testmain.go
|
||||
*.exe
|
||||
*.test
|
||||
*.prof
|
||||
yaml
|
||||
|
13
README.md
13
README.md
@ -1,2 +1,15 @@
|
||||
# yaml
|
||||
yaml command line tool written in go
|
||||
|
||||
Allows you to read (and soon update) yaml files given a yaml path.
|
||||
|
||||
Usage:
|
||||
```
|
||||
yaml <yaml file> <path>
|
||||
```
|
||||
|
||||
E.g.:
|
||||
```
|
||||
yaml sample.yaml b.c
|
||||
```
|
||||
will output the value of '2'.
|
||||
|
4
sample2.yaml
Normal file
4
sample2.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
a: Easy! as one two three
|
||||
b:
|
||||
c: 3
|
||||
d: [3, 4]
|
Loading…
Reference in New Issue
Block a user