Can read from STDIN

This commit is contained in:
mfarah
2015-10-05 15:48:34 +11:00
parent 5ee6a9b9ca
commit c03c4813d4
2 changed files with 22 additions and 1 deletions
+6
View File
@@ -27,6 +27,12 @@ yaml sample.yaml b.c
```
will output the value of '2'.
### Reading from STDIN
Given a sample.yaml file of:
cat sample.yaml | yaml - b.c
```
will output the value of '2'.
### Handling '.' in the yaml key
Given a sample.yaml file of:
```yaml