mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-14 07:35:23 +02:00

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
16 lines
411 B
Markdown
16 lines
411 B
Markdown
# pgcli
|
|
|
|
> A modern PostgreSQL CLI with auto-completion and syntax highlighting.
|
|
> More information: <https://www.pgcli.com>.
|
|
|
|
- Connect to a PostgreSQL database using a connection string:
|
|
|
|
`pgcli postgresql://{{user}}@{{host}}/{{database}}`
|
|
|
|
- Connect to a database using flags:
|
|
|
|
`pgcli {{[-h|--host]}} {{host}} {{[-U|--username]}} {{username}} {{[-d|--dbname]}} {{database}}`
|
|
|
|
- Display help:
|
|
|
|
`pgcli --help`
|