-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
When adding --json for JSON formatted output, the akamai.StartSpinner() outputs text that is not valid JSON.
This greatly diminishes the ability for other scripts and programs to leverage native JSON output without first storing it as a flat file with --output or having some additional parsing.
Example:
» akamai dns list-recordsets FQDN_TLD --json
Retrieving Recordsets List ... [OK]
Assembling Recordsets List ... [OK]
{
"Recordsets": [
{
"name": "FQDN_TLD",
"type": "A",
"ttl": 600,
"rdata": [
"1.1.1.1"
]
}
]
}
It would be nice to have a global flag or config option to supress the functions defined in: https://github.com/akamai/cli-common-golang/blob/master/spinner.go
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels