0.0.2 • Published 2 years ago

env-cp v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

env-cp

env-cp is a command-line tool that generates a new dotenv file based on the current environment variables.

Installation

To install env-cp globally, use the following command:

npm install -g env-cp

Alternatively, you can run the command using npx without installing it globally:

npx env-cp <example-env> <output-env>

Usage

The basic usage syntax is as follows:

env-cp <example-env> <output-env>
  • <example-env>: Path to the example dotenv file to use as a template.
  • <output-env>: Path to the output dotenv file to be generated.

Example:

env-cp .env.example .env

This command will generate a new dotenv file using the values from the example file and the current environment variables.

License

This project is licensed under the MIT License.

0.0.2

2 years ago

0.0.1

2 years ago