Skip to content

robanderton/heroku-pg-pgcli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pgcli Heroku CLI Plugin

Installation

$ heroku plugins:install heroku-pg-pgcli

Usage

Open a pgcli shell to DATABASE_URL on the current app:

$ heroku pg:pgcli

Connect to a specific database for the current app:

$ heroku pg:pgcli HEROKU_POSTGRESQL_AQUA_URL

Specify an app name:

$ heroku pg:pgcli -a <app-name>

Requirements

Pgcli version 1.4.0 or newer must be installed and available in the $PATH.