pgCLI is a command line interface for Postgres with auto-completion and syntax highlighting.
I liked the tool but wanted to put it in a container so i did not have to bother installing it and keeping my machine up to date with the latest version.
Check out their website for further details https://www.pgcli.com/
docker build -t mattdevdba/pgcli .docker run -it mattdevdba/pgcli /bin/bash
pgcli [OPTIONS]docker run -it mattdevdba/pgcli /bin/bash
pgcli -h localhost -u postgres