DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
214 stars 43 forks source link

Allow setting config dir with DOPPLER_CONFIG_DIR #367

Closed watsonian closed 1 year ago

watsonian commented 1 year ago

In some situations (e.g., a devcontainer that's being built), it can be advantageous to configure a specific config directory via environment variables rather than having to specify it with every CLI command. This allows you to set DOPPLER_CONFIG_DIR to set that value. Passing in --config-dir will still override this if needed.