mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 06:46:47 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/jq
4
tldr/jq
@@ -12,6 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`{{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