Can update yam to stdout

This commit is contained in:
Mike Farah
2015-09-29 16:29:32 +10:00
parent 2a0290aeac
commit 364c1a8af3
2 changed files with 43 additions and 10 deletions
+17 -1
View File
@@ -44,6 +44,22 @@ yaml sample.yaml b.e.1.name
```
will output 'sam'
### Updating yaml
Given a sample.yaml file of:
```yaml
b:
c: 2
```
then
```bash
yaml w sample.yaml b.c 'cat'
```
will output:
```yaml
b:
c: cat
```
## TODO
* Updating yaml files
* Handling '.' in path names