akamai / cli-property-manager

Use this Property Manager CLI to automate Akamai property changes and deployments across many environments.
Apache License 2.0
29 stars 22 forks source link

Add argument to change output type for commands that output tables #3

Closed TraGicCode closed 6 years ago

TraGicCode commented 6 years ago

When attempting to automate promotion it would be nice to be able pas some argument to make the output come back as json instead of an ASCII table. Without this it's really hard to exctract certain things like activationid etc...

jumenzel commented 6 years ago

Yes, agreed. We should add that soon.

humanshield314 commented 6 years ago

Added the ability to use -f to choose between json or table format!

-f, --format [format]                              Select output format, allowed values are 'json' or 'table'