pgexplode
Uses pg-connection-string
to assemble libpq
environment
variables.
Usage
Run pgexplode
in a subshell along with the command that consumes the
variables it sets in order to avoid polluting your environment:
(export $(DATABASE_URL="postgres://host/db?ssl=true" pgexplode | xargs) && psql)