home-assistant-ecosystem / home-assistant-cli

:computer: Command-line tool for Home Assistant
Other
446 stars 69 forks source link

Support `--output ndjson` #348

Closed jasonk closed 3 years ago

jasonk commented 4 years ago

Hello!

I found myself wanting to run something like hass-cli event watch | grep ... | jq ... and it was more complicated than I would have liked because of the format, so I added a flag to allow ndjson as an output format, which makes things like that much easier...