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:
# module-level attributes (list)
./chzdev --list-attributes --type dasd-eckd
# device-level attributes (list)
./chzdev --list-attributes dasd-eckd
# module-level attribute help
./chzdev --help-attributes --type dasd-eckd
# device-level attributes help
./chzdev --help-attributes dasd-eckd
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)
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)