1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

Update documentation

This commit is contained in:
matfax
2018-11-18 18:40:51 +01:00
committed by Mike Farah
parent 48dcc15281
commit 8a3fb32f36
43 changed files with 5440 additions and 348 deletions

View File

@@ -52,7 +52,7 @@ yq p -i data1.yaml c
```
will update the data1.yaml file so that the path 'c' is prefixed to all other paths.
### Multiple Documents - update a single document
### Multiple Documents - prefix a single document
Given a data1.yaml file of:
```yaml
something: else
@@ -73,7 +73,7 @@ c:
b: cat
```
### Multiple Documents - update a single document
### Multiple Documents - prefix all documents
Given a data1.yaml file of:
```yaml
something: else