Coder Social home page Coder Social logo

kristoffeys / env-wizard Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

This package is designed to streamline the management of environment variables during project setup. It reads from a source .env file, prompts for values for any undefined variables, and writes the results to a target .env file. This tool is particularly useful when setting up new environments or adding new variables to your environment.

JavaScript 100.00%

env-wizard's Introduction

Env-Wizard

This package helps you manage your environment variables when setting up a project. It reads from a source .env file (default: .env.example), prompts you for values for any undefined variables, and writes the results to a target .env file (default: .env). This is especially useful when setting up a new environment or when adding new variables to your environment.

Features

  • Reads from a source .env file
  • Prompts for values for any undefined variables
  • Writes the results to a target .env file

Installation

You can install env-wizard via npm:

npm install env-wizard

Usage

Here's how you can use the env-wizard CLI:

env-wizard -s .env.example -t .env

In this example, env-wizard reads from .env.example, prompts for values for any undefined variables, and writes the results to .env.

If you don't provide the -s & -t parameters, source defaults to .env.example & target defaults to .env

Contributing

Contributions are welcome! Please feel free to submit a pull request.

License

Env wizard is licensed under the MIT license.

env-wizard's People

Contributors

kristoffeys avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.