core
core copied to clipboard
env-file flag
🪤 Context
Currently the env-file support is provided by node itself, rather than the library. Instead, the project will always search
node --env-file .env.example dist/main.js
There are some situations where this flag is desired, but it isn't easy to provide the option to the interpreter. The library should also consume this flag to influence what dotenv loads
node dist/main.js --env-file .env.example