Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1.3 KB

README.md

File metadata and controls

43 lines (36 loc) · 1.3 KB

heroku-pgcli

pgcli plugin for Heroku CLI

oclif Version Downloads/week License

Usage

$ heroku plugins:install heroku-pgcli # install

$ heroku pgcli -a core-stage # by default, uses DATABASE_URL
Running pgcli on DATABASE_URL...
Server: PostgreSQL 10.6
Version: 2.0.2
Chat: https://gitter.im/dbcli/pgcli
Mail: https://groups.google.com/forum/#!forum/pgcli
Home: http://pgcli.com
random>

$ heroku pgcli POSTGRESQL_ORANGE_URL -a core-stage # custom name for postgresql
Running pgcli on DATABASE_URL...
Server: PostgreSQL 10.6
Version: 2.0.2
Chat: https://gitter.im/dbcli/pgcli
Mail: https://groups.google.com/forum/#!forum/pgcli
Home: http://pgcli.com
random>
...

Development

  • heroku plugins:link
  • heroku pgcli
  • HEROKU_DEBUG=1 to print debugging statements
  • HEROKU_DEBUG_HEADERS=1 to also get the headers
  • DEBUG=* to get lots of internal debug output