Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-07 00:22:22 +00:00
parent bc2926a603
commit 4baf14a115
7 changed files with 163 additions and 1 deletions

21
tldr/pgcli Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`