Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support config options in preload #90

Open
danielfsousa opened this issue Nov 10, 2019 · 0 comments
Open

Support config options in preload #90

danielfsousa opened this issue Nov 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@danielfsousa
Copy link
Collaborator

We should support command line arguments and environment variables to pass options to config() method when preloading dotenv-azure, like dotenv.

Also, the preload script config-safe should be removed.

Before:

node -r dotenv-azure/config-safe your_script.js

After:

node -r dotenv-azure/config your_script.js dotenv_azure_config_safe=true

# or

DOTENV_AZURE_CONFIG_SAFE=true node -r dotenv-azure/config your_script.js
@danielfsousa danielfsousa added the enhancement New feature or request label Nov 10, 2019
@danielfsousa danielfsousa changed the title Support options in preload Support config options in preload Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant