I'm working on UI for operating and configuring z devices. I very like --pairs output generated by lszdev (as it is easy to consume automatically), but I cannot get the same output from chzdev.
E.g. it would be nice to have the "pairs" output for the following comamnds:
It's a really comprehensive amount of information, thus I wouldn't want to re-hardcode all of this output, but instead dynamically query it and display it.
Would you be open to patches that introduce --pairs output to all of the above? Or any other structured output? (e.g. json, yaml, etc)
Sounds like a good idea! I'm open for patches that introduce this type of feature. Preferrably it should mirror what is implemented in lszdev (--pairs).
I'm working on UI for operating and configuring z devices. I very like --pairs output generated by lszdev (as it is easy to consume automatically), but I cannot get the same output from chzdev.
E.g. it would be nice to have the "pairs" output for the following comamnds:
It's a really comprehensive amount of information, thus I wouldn't want to re-hardcode all of this output, but instead dynamically query it and display it.
Would you be open to patches that introduce --pairs output to all of the above? Or any other structured output? (e.g. json, yaml, etc)