0.0.1 • Published 7 months ago

menvs v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

menvs

version Maintenance mit build

Manage .env across projects

Requirements

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm.

$ npm i -g menvs

Or 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 pick

Features

  • Manage .env files across projects.
  • Full interactive.
  • Mark variables as confidential when includes password or secret (case insensitive) (i.e DATABASE_PASSWORD or JWT_SECRET).
  • When updating config, allow to update all linked project .env files.

CLI

commandshortdescription
savesSave a new configuration from an existing .env
pickpGenerate a .env from an existing configuration
listlList available configurations
delete d Delete a configuration
showshShow configuration key-values
updateuUpdate configuration (key / value )

Contributors ✨

All Contributors

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT