digitalocean / digitalocean/doctl

Database Connection Flags

Open
#790 1 comment 0 reactions 0 assignees View on GitHub
do-api suggestion
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

At DigitalOcean Database panel, you can get the `mysql -u...` command snipped, which is called `Flags` on the `Connection Details` section.

With `doctl` i wasn't able to find a way to print that for me, i know i can use `--output=json | jq` and build myself but would be very useful to have this ready for me, even better if we do not include `-D defaultdb` part.

```bash
doctl db connection [dbid] --format=Flags
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.