/env-template

CLI tool to create .env.template from .env

Primary LanguageJavaScript

Env Template maker

A simple CLI tool to create .env.template from existing .env file!

Usage

To create the .env.template file, go to the directory containing your .env file and run;

npx env-template

You can also install it globally like this:

npm i env-template -g

And then;

env-template

Example:

.env file:

database_url=https://someDatabaseUrl.com
server_url=https://someServerUrl.com
cloudinary_key=s@meR@nd#mKe7

After running the command, a new .env.template file will be created in the same directiory:

database_url=#Your database_url here
server_url=#Your server_url here
cloudinary_key=#Your cloudinary_key here