Notable Pastry Maker

    heroku-dotenv

    0.4.1 • Public • Published

    heroku-dotenv

    A CLI & Node.js application that copies environment variables in a .env file to and from Heroku.

    Installation

    $ npm install --global heroku-dotenv
    

    Usage

    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 push

    Save Environment to .env File

    $ heroku-dotenv pull

    Options

    -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

    Install

    npm i heroku-dotenv

    DownloadsWeekly Downloads

    35

    Version

    0.4.1

    License

    MIT

    Last publish

    Collaborators

    • amadoa
    • dalewray
    • codevelopit
    • mastaaaron
    • escasports
    • tbaustin
    • ken85rose