Backlog #1788

Add --format option to show commands

Added by Javi Fontan about 8 years ago. Updated over 7 years ago.

Status:PendingStart date:02/28/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:CLI
Target version:-

Description

From a mail by Hans-Joachim Ehlers (http://lists.opennebula.org/pipermail/users-opennebula.org/2013-February/022188.html):

For automation it would be nice to have a defined output format support by an additional option like "-F | --format" 

Where format could be : stanza , xml , {}  or what ever is useful and reliable. Might ease command output handling .

Example:
 --format S # Stanza

ServiceComponent:
    Service=<service_name>
    Name=<component_name>
    Module=<module_name>
    ComponentDataSize=<size>

 --format X # XML
<ServiceComponent>
...
</ServiceComponent>

Format selection should be selectable using a single parameter. "--format" seems a good candidate.

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Priority changed from Normal to Low

#2 Updated by Ruben S. Montero about 8 years ago

  • Tracker changed from Feature to Backlog

#3 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Pending

#4 Updated by Ruben S. Montero over 7 years ago

  • Priority changed from Low to Normal

Also available in: Atom PDF