mirror of
https://gitee.com/mirrors_adrian-thurston/yq.git
synced 2026-01-15 07:53:35 +08:00
Updated readme
This commit is contained in:
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]
|
||||
Reference in New Issue
Block a user