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

Add --database and --port to cb uri command. #148

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

abrightwell
Copy link
Member

Adds the following flags to the cb uri command (#138):

  • --database - allows specifying and alternate database to connect to (default: postgres).
  • --port - allows specifying an alternate port to connect to (default: 5432).

Example:

> cb uri <cluster_id> --database test --port 5431
postgres://postgres:<REDACTED>@p.<cluster_id>.db.postgresbridge.com:5431/test

@abrightwell abrightwell requested a review from a team as a code owner December 12, 2023 19:25
Adds the following flags to the `cb uri` command (#138):

* `--database` - allows specifying and alternate database to connect to
  (default: postgres).
* `--port` - allows specifying an alternate port to connect to (default:
  5432).

Example:

```
> cb uri <cluster_id> --database test --port 5431
postgres://postgres:<REDACTED>@p.<cluster_id>.db.postgresbridge.com:5431/test
```
@abrightwell abrightwell merged commit 531df80 into main Dec 13, 2023
2 checks passed
@abrightwell abrightwell deleted the abrightwell/uri-database-port branch December 13, 2023 13:37
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.

1 participant