CLI utility to display postgres database information as a tree.
pip install pgls
pgls postgres://user:[email protected]
# shows all databases and all nested entities
pgls --sort=size postgres://user:[email protected]
# shows heavier databases and tables first
pgls --hide-columns postgres://user:[email protected]
# shows databases and tables without it's columns
pgls --hide-tables --hide-views --hide-indexes postgres://user:[email protected]
# shows only databases