Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] Add option to display command outputs as JSON #28

Open
brouberol opened this issue Jun 28, 2017 · 0 comments
Open

[Idea] Add option to display command outputs as JSON #28

brouberol opened this issue Jun 28, 2017 · 0 comments

Comments

@brouberol
Copy link

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!

@brouberol brouberol changed the title Add option to display command outputs as JSON [Idea] Add option to display command outputs as JSON Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant