heroku-dotenv
v0.4.1
Published
Copies environment variables in a .env file to and from Heroku
Readme
heroku-dotenv
A CLI & Node.js application that copies environment variables in a .env file to and from Heroku.
Installation
$ npm install --global heroku-dotenvUsage
You must first make sure you're in the directory your Heroku app is in and have the application selected in the Heroku CLI.
Send Environment to Heroku
$ heroku-dotenv pushSave Environment to .env File
$ heroku-dotenv pullOptions
-a, -app
Pushes/pulls from the specified Heroku app.
$ heroku-dotenv pull -a my-heroku-app-p, --production
Turns on the Node.js production environment variable.
$ heroku-dotenv push -p