1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:02:09 +02:00

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:
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

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