c0ntax / merge-env-cli

A simple script to take an existing dotenv file and dump existing env files into it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

merge-env-cli

A simple script to take an existing dotenv file and dump existing env files into it

Install

npm install -g merge-env-cli

Usage

env | merge-env ./path/to/.env.template > .env

By piping you environment variables into merge-env-cli and supplying the template, this simple script will output to stdout a new .env file that contains the template with the piped variables inserted if they exist

About

A simple script to take an existing dotenv file and dump existing env files into it


Languages

Language:JavaScript 100.0%