Updating readme

This commit is contained in:
Mike Farah
2022-03-29 13:15:27 +11:00
parent 0956eefb1a
commit 5d225b9454
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ See https://mikefarah.gitbook.io/yq/ for detailed documentation and examples.`,
# yq defaults to 'eval' command if no command is specified. See "yq eval --help" for more examples.
# read the "stuff" node from "myfile.yml"
cat myfile.yml | yq '.stuff'
yq '.stuff' < myfile.yml
# update myfile.yml in place
yq -i '.stuff = "foo"' myfile.yml