From d99f6443aaa51a6e3285fb3d012f78f51b811f22 Mon Sep 17 00:00:00 2001 From: Richard Vincent Date: Sat, 5 Jul 2025 21:58:27 -0400 Subject: [PATCH] pgcli: add page (#17131) Co-authored-by: Wiktor Perskawiec Co-authored-by: Wiktor Perskawiec Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/pgcli.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/pgcli.md diff --git a/pages/common/pgcli.md b/pages/common/pgcli.md new file mode 100644 index 0000000000..de374d610a --- /dev/null +++ b/pages/common/pgcli.md @@ -0,0 +1,16 @@ +# pgcli + +> A modern PostgreSQL CLI with auto-completion and syntax highlighting. +> More information: . + +- 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`