Delete
Deletes all the matching nodes for the path expression in the given yaml input
Last updated
Was this helpful?
Deletes all the matching nodes for the path expression in the given yaml input
Last updated
Was this helpful?
See docs for for more details.
Given a sample.yaml file of:
then
will output
Use "-" (without quotes) in-place of a file name if you wish to pipe in input from STDIN.
will update the sample.yaml file so that the 'c' node is deleted
Given a sample.yaml file of:
then
will output:
Given a sample.yaml file of:
then
will output: