top | item 39192208

(no title)

karpour | 2 years ago

This is fantastic, the 3 different interfaces make a lot of sense, and having a cli makes it a breeze to plug other stuff in! I'll give this a try soon! Is there json output for the cli by any chance?

discuss

order

yoavm|2 years ago

Thank you! The CLI doesn't do JSON output for now, curious about your use case? I assume you can slap `jq` on it like this: `n | jq -R -s -c 'split("\n")[:-1]'`

The HTTP interface will do JSON unless you include `Accept: text/html` in your requests.