Skip to content

Support config options in preload #90

@danielfsousa

Description

@danielfsousa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions