dotenvx/dotenvx ? reverse-engineered prompt
Reverse engineered prompt
Build me a secure dotenv tool that works like the usual dotenv workflow, but with encrypted env files and a command line mode that can run any app with the right variables loaded.
I want it to support local use in Node, and also as a global CLI so I can do things like encrypt my env file, decrypt it when running a command, and keep secrets out of plain text. It should work across platforms, be easy to install, and have a simple run command that prefixes another command and injects the variables into that process.
Please include support for multiple environments, redacting secrets when needed, and a clean way to use it in JavaScript with a small config import. If it helps, look up current docs online and make it feel polished like a real developer tool, with helpful error messages and README examples that show common workflows.
Are you gonna build this?
make sure you review the code using coderabbit