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

add json output mode to enumerate_devices #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omerk
Copy link

@omerk omerk commented Jun 19, 2018

This quick PR adds primitive JSON output mode to the enumerate_devices command, through the --json command line parameter.

Output example here: https://gist.github.com/omerk/673b956f9051ca5a7654a4d131288dd5

Generated JSON structure:
image

I needed this functionality, thought it might be of some use to others as well.

Thanks.

@Koromix Koromix force-pushed the master branch 7 times, most recently from b2b10d1 to 4eabcad Compare August 3, 2020 06:31
@Koromix Koromix force-pushed the master branch 2 times, most recently from 103a1dc to 6449e1f Compare January 18, 2021 22:36
@Koromix Koromix force-pushed the master branch 4 times, most recently from b802c6e to b1875b7 Compare November 2, 2021 21:59
@Koromix Koromix force-pushed the master branch 2 times, most recently from bcdf7cf to 120509e Compare November 20, 2021 08:09
@Koromix Koromix force-pushed the master branch 4 times, most recently from 807479e to dbcd980 Compare January 1, 2022 06:36
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

Successfully merging this pull request may close these issues.

1 participant