jq: add single binary version (#13265)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: spageektti <git@spageektti.cc>
pull/28/head
mrz-secops-offsec 2024-07-13 17:47:51 -06:00 committed by GitHub
parent cf3da06b07
commit 05294eb4a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -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}}`