1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 17:35:24 +02:00

pgcli: add page (#17131)

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>
This commit is contained in:
Richard Vincent 2025-07-05 21:58:27 -04:00 committed by GitHub
parent b6ce6c66bb
commit d99f6443aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/common/pgcli.md Normal file
View file

@ -0,0 +1,16 @@
# 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`