zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Output results as key=value instead of as xml if a certain argument is given #40

Closed mkherlakian closed 10 years ago

mkherlakian commented 10 years ago

e.g. zs-client.phar getSystemInfo --target=dave --output-format=keyvalue

slaff commented 10 years ago

With this commit 286a646785518ba4ff97802ada8f6c0eda11f8a1 comes a packages phar file that has the functionality. Allowed output formats (--output-format) are: xml(default), json, kv(for key-value). Example:

zs-client.phar getSystemInfo --target=zsdemo --output-format=kv