You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a script automating the restart of a kafka cluster, using kafkat restart-cluster at its center. It's calling kafkat commands via subprocesses, and needs to parse the output. It would be super convenient to have a --json (or --format=json) flag we could pass to the command-line to make it output JSON instead of human-readable text.
What do you think?
Thanks!
The text was updated successfully, but these errors were encountered:
brouberol
changed the title
Add option to display command outputs as JSON
[Idea] Add option to display command outputs as JSON
Jun 28, 2017
I'm writing a script automating the restart of a kafka cluster, using
kafkat restart-cluster
at its center. It's callingkafkat
commands via subprocesses, and needs to parse the output. It would be super convenient to have a--json
(or--format=json
) flag we could pass to the command-line to make it output JSON instead of human-readable text.What do you think?
Thanks!
The text was updated successfully, but these errors were encountered: