Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-27 00:21:02 +00:00
parent 47db9e503e
commit 5bf37ece1a
136 changed files with 315 additions and 144 deletions

19
tldr/jc
View File

@@ -5,21 +5,12 @@ source: https://github.com/tldr-pages/tldr.git
---
# jc
> Convert the output of multiple commands to JSON.
> More information: <https://github.com/kellyjonbrazil/jc>.
> `jc` can refer to multiple commands with the same name.
- Convert command output to JSON via pipe:
- View documentation for the `JSON` serializer:
`{{ifconfig}} | jc {{--ifconfig}}`
`tldr jc.json`
- Convert command output to JSON via magic syntax:
- View documentation for the `autojump` alias:
`jc {{ifconfig}}`
- Output pretty JSON via pipe:
`{{ifconfig}} | jc {{--ifconfig}} {{[-p|--pretty]}}`
- Output pretty JSON via magic syntax:
`jc {{[-p|--pretty]}} {{ifconfig}}`
`tldr autojump`