mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 16:22:08 +02:00

* pages*: improve page descriptions * ical: improve page description * cockpit-desktop: remove unneeded word from page description * nc: improve description wording --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
20 lines
401 B
Markdown
20 lines
401 B
Markdown
# jc
|
|
|
|
> Convert the output of multiple commands to JSON.
|
|
> More information: <https://github.com/kellyjonbrazil/jc>.
|
|
|
|
- Convert command output to JSON via pipe:
|
|
|
|
`{{ifconfig}} | jc {{--ifconfig}}`
|
|
|
|
- Convert command output to JSON via magic syntax:
|
|
|
|
`jc {{ifconfig}}`
|
|
|
|
- Output pretty JSON via pipe:
|
|
|
|
`{{ifconfig}} | jc {{--ifconfig}} -p`
|
|
|
|
- Output pretty JSON via magic syntax:
|
|
|
|
`jc -p {{ifconfig}}`
|