0.0.1 • Published 2 years ago
menvs v0.0.1
menvs
Manage .env across projects
Requirements
- Node.js v16 or higher
Getting Started
This package is available in the Node Package Repository and can be easily installed with npm.
$ npm i -g menvsOr use npx.
$ npx menvs <command>Usage exemple
# save existing .env from project
$ cd path/to/project
$ menvs save
# reuse .env in another project
$ cd path/to/other/project
$ menvs pickFeatures
- Manage
.envfiles across projects. - Full interactive.
- Mark variables as confidential when includes
passwordorsecret(case insensitive) (i.eDATABASE_PASSWORDorJWT_SECRET). - When updating config, allow to update all linked project
.envfiles.
CLI
| command | short | description |
|---|---|---|
| save | s | Save a new configuration from an existing .env |
| pick | p | Generate a .env from an existing configuration |
| list | l | List available configurations |
| delete | d | Delete a configuration |
| show | sh | Show configuration key-values |
| update | u | Update configuration (key / value ) |
Contributors ✨
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT
0.0.1
2 years ago