digitalocean / doctl

The official command line interface for the DigitalOcean API.
https://docs.digitalocean.com/reference/doctl/
Apache License 2.0
3.26k stars 397 forks source link

if json output is selected should only produce json output #55

Closed aybabtme closed 8 years ago

aybabtme commented 8 years ago

when JSON output is selected, don't fmt.Print... stuff to stdout.

e.g: https://github.com/digitalocean/doctl/blob/master/commands/droplets.go#L408

bryanl commented 8 years ago

@aybabtme, do you want to investigate this and submit a patch?