YAML wrapper for the fantastic jq tool
Switch branches/tags
Nothing to show
Clone or download
Latest commit 48242f8 Apr 24, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore init Apr 24, 2017
LICENSE Initial commit Apr 13, 2017
README.md +stdin. /readme. Apr 24, 2017
main.go +stdin. /readme. Apr 24, 2017



YAML wrapper for the fantastic jq tool.

go get github.com/gomatic/yq


yq [options...] filter -- [files...]

Notice the --. It's mandatory so yq can distinguish the files from the options and filter. It also allows yq to determine that input is coming from stdin (when stdin is a terminal).


Since jq can output JSON that isn't well-formed, such output can't easily be converted back to yaml. In such cases, the JSON will be output.