Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gumby
on Dec 6, 2021
|
parent
|
context
|
favorite
| on:
Tips on adding JSON output to your CLI app
If you’re going to make a schema, which is a good idea, then make a command line option that emits it.
kbrazil
on Dec 6, 2021
[–]
Yep, in JC you can see the schema for any parser like so:
$ jc -h --dig
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: