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

Simplify the output of single value server commands #594

Closed
andy-maier opened this issue Apr 10, 2020 · 2 comments
Closed

Simplify the output of single value server commands #594

andy-maier opened this issue Apr 10, 2020 · 2 comments

Comments

@andy-maier
Copy link
Contributor

andy-maier commented Apr 10, 2020

The server brand and server interop commands show only a single value but add quite some words around that. This could be simplified to showing only the output value.

Examples (from quickstart docs, not verified with latest code):

pywbemcli> server brand

Server Brand:
WBEM Server Brand
-------------------
OpenPegasus
pywbemcli> server interop

Server Interop Namespace:
Namespace Name
----------------
root/PG_InterOp
@KSchopmeyer
Copy link
Contributor

In dealing with this issue, we are introducing a new concept in output. Right now we have cimobject and table output. We want something for these types so that only the data shows up for things like scripting where redirection can be used.

We will make a format format 'text' that is just the text data.

@andy-maier
Copy link
Contributor Author

Addressed by PR #600.

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

2 participants