sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

Allow connecting to bookmarked server from CLI #189

Closed sosedoff closed 7 years ago

sosedoff commented 7 years ago

Something like this would work:

pgweb --bookmark=myserver_staging
akarki15 commented 7 years ago

should the bookmark be a local file that stores db connection settings?

akarki15 commented 7 years ago

better - where would the bookmark info be stored?

sosedoff commented 7 years ago

@akarki15 Server bookmarks are already implemented. This issue is about how to initialize a connection from bookmarks, which are stored under $HOME/.pgweb/bookmarks/*.toml

akarki15 commented 7 years ago

i have a prototype that works. you can assign this to me