Closed dattasaurabh82 closed 3 years ago
Dear maintainer. I found examples in docs for Assign(Update) but it doesn't really write to the document. 😅 . Am I missing something here?
For example I have two situation:
LINKS: - -
# from DIR: /home/test # to DIR: /home/Downloads
The update methods as illustrated:
yq e '.LINKS[<id>] = "some string"' myfile.yaml
shows the output dump being updated but it is not written in the file. The file has many other fields as well.
Is there a write in place methods for a file?
This is not the yq project you are looking for.
Dear maintainer. I found examples in docs for Assign(Update) but it doesn't really write to the document. 😅 . Am I missing something here?
For example I have two situation:
The update methods as illustrated:
shows the output dump being updated but it is not written in the file. The file has many other fields as well.
Is there a write in place methods for a file?