Piping into yq with my.yml | yq does not seem to work, which limits usability for scripting on linux severely. This needs to be supported.
You have to do this yq r -. Really wish this was simpler.
echo -e '---
foo: bar' | yq r -
Also it doesn't work reliably with tools like helm. It only returns the first yaml document, even if there are more.
```
helm template foo
````
That's what it does by default, you can specify a specific document or all documents:
http://mikefarah.github.io/yq/read/#multiple-documents-specify-a-single-document
So looks like yq r - -d '*' is the solution to pipe to yq.
echo -e '---
foo:bar
---
buzz:42
' | yq r - -d '*'
I hope the defaults will change to something smarter . To just do mycommand | yq just like jq.
Hi guys, I see It does not do the syntax highlighting when piped. Please help!

Most helpful comment
So looks like
yq r - -d '*'is the solution to pipe toyq.