Skip to content

CLI utility to display postgres database information as a tree.

License

Notifications You must be signed in to change notification settings

codingjerk/pgls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgls

PyPI License

CLI utility to display postgres database information as a tree.

Clickbait

Installation

pip install pgls

Usage

Basic example

pgls postgres://user:[email protected]
# shows all databases and all nested entities

Sort by size

pgls --sort=size postgres://user:[email protected]
# shows heavier databases and tables first

Hide some information (also this speeds up gathering)

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

About

CLI utility to display postgres database information as a tree.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages