Skip to content

techgaun/heroku-pgcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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