-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add CLI flag for JSON output #54
Comments
I very much support this. I'm currently writing python scripts to automate setting up a machine to use with some other scripts I already wrote, and having JSON output would make this a lot easier. |
I don't quite understand what for. 🤔 |
I'll have a look at the API directly, but I still feel like it would be nice to get direct json output from the executable (like doctl). |
Hey @JamesClonk 👋 For the simple reason that it would be used (probably a lot)! I would also argue that if an upstream API returns JSON then the downstream API (in this case your CLI) should have an option for returning JSON too. Just for debugging reasons at the very least. Thanks in advance for your time and consideration! 👍 |
@JamesClonk I would also like json output. This allows users to pipe the output to jq (https://github.com/stedolan/jq) and filter things. Yes we can just use the API directly using curl however the CLI makes it way easier to interact with the API. |
No description provided.
The text was updated successfully, but these errors were encountered: