mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 01:59:58 +00:00
Update cheatsheets
This commit is contained in:
19
tldr/jc
19
tldr/jc
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user