Skip to content

c0ntax/merge-env-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published