Format the Outputs of Get Commands
Formatting get Command Outputs¶
Output of get envs
, get apis
, get api-products
and get apps
can be formatted with Go Templates.
Available formatting options¶
Name | Usage | Example |
---|---|---|
table | This is the default format and the output is displayed as a table | |
json | Output is formatted as JSON | |
jsonArray | Outputs a human-readable JSON Array with indented by 2 spaces | |
jsonPretty | Outputs a human-readable JSON with indented by 2 spaces | |
upper | Convert string to uppercase | |
lower | Convert string to lowercase | |
title | Convert the first letter to uppercase of a string |