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`