Simplify json > yaml cli example

This commit is contained in:
Mike Farah
2022-03-20 10:58:37 +11:00
parent 78e9cc7998
commit e08b6803f5
2 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ cat myfile.yml | yq '.stuff'
yq -i '.stuff = "foo"' myfile.yml
# print contents of sample.json as idiomatic YAML
yq -P '.' sample.json
yq -P sample.json
`,
RunE: func(cmd *cobra.Command, args []string) error {