mirror of
https://github.com/taigrr/yq
synced 2025-01-18 04:53:17 -08:00
Can add and merge append to null
This commit is contained in:
@@ -209,3 +209,15 @@ will output
|
||||
a: 4
|
||||
```
|
||||
|
||||
## Add to null
|
||||
Adding to null simply returns the rhs
|
||||
|
||||
Running
|
||||
```bash
|
||||
yq eval --null-input 'null + "cat"'
|
||||
```
|
||||
will output
|
||||
```yaml
|
||||
cat
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user