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:
parent
b6ce6c66bb
commit
d99f6443aa
1 changed files with 16 additions and 0 deletions
16
pages/common/pgcli.md
Normal file
16
pages/common/pgcli.md
Normal 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`
|
Loading…
Add table
Reference in a new issue