An open API service indexing awesome lists of open source software.

https://github.com/bertolo1988/heroku-to-dotenv

Convert heroku config files to .env files.
https://github.com/bertolo1988/heroku-to-dotenv

config dotenv environment-variables heroku heroku-cli-plugin npm

Last synced: 5 months ago
JSON representation

Convert heroku config files to .env files.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.com/bertolo1988/heroku-to-dotenv.svg?branch=master)](https://travis-ci.com/bertolo1988/heroku-to-dotenv)

# heroku-to-dotenv

Helps to convert heroku configs downloaded using [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) to [dotenv](https://www.npmjs.com/package/dotenv) format.

## Install

npm i -g heroku-to-dotenv

## Help

heroku-to-dotenv --help

## How to use

```
heroku config --app my-app-on-heroku > some-aux-file.txt
heroku-to-dotenv --inputFile some-aux-file.txt --outputFile .env
```