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

Allow for json output when running cargo install-update -al #157

Open
mainrs opened this issue May 13, 2021 · 2 comments
Open

Allow for json output when running cargo install-update -al #157

mainrs opened this issue May 13, 2021 · 2 comments

Comments

@mainrs
Copy link

mainrs commented May 13, 2021

Makes it easier to work with when calling from scripts.
If you're OK with it I can open a PR, doesn't seem to be that difficult to implement.

@nabijaczleweli
Copy link
Owner

nabijaczleweli commented May 13, 2021

Sure, open a PR, though I'm not sure what you'll gain from JSON specifically that you can't get out of the current output at present

@mainrs
Copy link
Author

mainrs commented May 13, 2021

It's just easier to parse JSON in other languages than it is to parse some arbitrary text columns. awk is fine for what but if I want to use Python to parse the output JSON is more reliable :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants