We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given a file like
$ cat example.yaml foo: - name: bar - name: baz - name: bat
I'd like to output
foo: - name: bar - name: quux - name: bat
Is there a way to index into a specific index in a list and a set a subkey while leaving all other subkeys and list item peers unchanged?
$ yaml_cli -i example.yaml -s foo:1:name quux foo: '1': name: quux
$ yaml_cli -i example.yaml -s foo[1]:name quux foo: - name: bar - name: baz - name: bat foo[1]: name: quux
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given a file like
I'd like to output
Is there a way to index into a specific index in a list and a set a subkey while leaving all other subkeys and list item peers unchanged?
The text was updated successfully, but these errors were encountered: