Updated readme

This commit is contained in:
Mike Farah 2015-09-27 13:29:20 +10:00 committed by mfarah
parent 6a35a5f382
commit bcf2ee8bcc
3 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ _testmain.go
*.exe
*.test
*.prof
yaml

View File

@ -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
View File

@ -0,0 +1,4 @@
a: Easy! as one two three
b:
c: 3
d: [3, 4]