keithmorris / node-dotenv-extended

A module for loading .env files and optionally loading defaults and a schema for validating all values are present.
MIT License
111 stars 24 forks source link

Feature: output merged configuration #64

Open rulatir opened 1 year ago

rulatir commented 1 year ago

Currently the only mode of operation is to execute a program with merged environment passed to it. I would like a flag to dump the merged configuration to stdout. dotenv-extended env does not achieve this, because the output will contain all variables from the current environment, not just those coming from the .env files processed by dotenv-extended, which is what I desire instead.