0.0.2 • Published 10 months ago
env-cp v0.0.2
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.