1.0.7 • Published 8 years ago
pgrestore-cli v1.0.7
PG Restore Cli
Extremely simple CLI for using pg_restore
(Currently set up for Rails projects by default)
Install
$ npm install -g pgrestore-cli
or
$ yarn add global pgrestore-cli
Usage
- Run command
pgrin the root of your project - Looks for list of databases in
./config/database.yml - Gets list of
.dumpfiles - CLI select interface to select both
- Runs pg_restore with the selected parameters
Screenshots
