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 --pairs for chzdev #48

Open
xnox opened this issue Nov 20, 2018 · 1 comment
Open

Allow --pairs for chzdev #48

xnox opened this issue Nov 20, 2018 · 1 comment
Assignees

Comments

@xnox
Copy link
Contributor

xnox commented Nov 20, 2018

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)

@oberpar
Copy link
Contributor

oberpar commented Nov 21, 2018

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).

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

3 participants