Debugging is a fact of life when building apps with Rails or any other set of tools. All troubleshooting is easier when we can see what’s going on inside.
pgcli is a command line tool that lets devs examine PostgreSQL databases from the command line.
pgcli offers more powerful features than
psql (the default terminal front-end for PostgreSQL) such as:
- Autocompletion. In fact,
pgcliautocompletion is smart enough to only show table names after
FROMin a SQL statement.
- Syntax highlighting. Find gotchas quicker, just like you would in a text editor.
Debugging is easier when you can look inside the black box.