Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctl auth list: respect json output flag #1547

Merged

Conversation

loosla
Copy link
Contributor

@loosla loosla commented Jul 11, 2024

addresses #1543

Updates the doctl auth list command to respect the -o json flag.

Example output:

$ go run cmd/doctl/main.go auth list -o json

[
  {
    "name": "default",
    "current": true
  },
  {
    "name": "personal",
    "current": false
  },
  {
    "name": "work",
    "current": false
  }
]

Copy link
Member

@bentranter bentranter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks so much for the contribution Anna!

@bentranter bentranter merged commit b5d4caa into digitalocean:main Jul 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants