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:
parent
cf3da06b07
commit
05294eb4a8
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue