Machine-readable form of output for piping
Consider a machine-readable form of output that would allow command redirection at least at the shell level.
Note that click itself does not really support the idea of redirection in the interactive mode (output of one command available as input to the next command) but we could use the click context as a way to pass results to input in the interactive mode (Which would make the command mode different than the interactive mode).
Some examples of usage might be: Run a command to get the namespaces and then run another command on all of those namespaces. The easiest idea for this is the processing of things like connection names, instancenames, classnames, and namespace names. or lists of the same.
we have to look at our possible inputs and find a way to structure outputs to be able to generate these outputs.
Example today. Delete a group of instances. We need to generate a list of paths one object per line and just use the shell tools to process (delete) the result.
Question: What are some of the more complex things that we might want to do with piped pywbemcli commands?
Lets document the cases that work and then work on cases that could be important but do not work today
DISCUSSION: move to next release.
We discussed this in our call today and decided to move this issue into the next release.