Added snake_case version of camelCase operators (snake case now prefered)

This commit is contained in:
Mike Farah
2022-02-11 09:05:17 +11:00
parent a9c3617b4f
commit a5f6a80cf6
9 changed files with 48 additions and 38 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ a: cat
```
then
```bash
yq 'fileIndex' sample.yml
yq 'file_index' sample.yml
```
will output
```yaml
@@ -55,7 +55,7 @@ a: cat
```
then
```bash
yq eval-all 'fileIndex' sample.yml another.yml
yq eval-all 'file_index' sample.yml another.yml
```
will output
```yaml