Skip to content

add json output mode to enumerate_devices#31

Open
omerk wants to merge 1 commit into
Koromix:masterfrom
omerk:master
Open

add json output mode to enumerate_devices#31
omerk wants to merge 1 commit into
Koromix:masterfrom
omerk:master

Conversation

@omerk

@omerk omerk commented Jun 19, 2018

Copy link
Copy Markdown

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