jq: add single binary version (#13265)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:

committed by
GitHub

parent
cf3da06b07
commit
05294eb4a8
@@ -7,6 +7,10 @@
|
||||
|
||||
`{{cat path/to/file.json}} | jq '.'`
|
||||
|
||||
- Execute a specific expression only using the `jq` binary (print a colored and formatted JSON output):
|
||||
|
||||
`jq '.' {{/path/to/file.json}}`
|
||||
|
||||
- Execute a specific script:
|
||||
|
||||
`{{cat path/to/file.json}} | jq --from-file {{path/to/script.jq}}`
|
||||
|
Reference in New Issue
Block a user