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

Don't create default config dir if --configuration used #343

Closed watsonian closed 1 year ago

watsonian commented 1 year ago

This solves an issue where the CLI would always attempt to create the default config directory ($HOME/.doppler) even if a different location was specified using --configuration. Now, we provide a --config-dir flag that will set the entire directory being used. It also deprecates the --configuration flag, which was around from before we used a config directory (there is no real reason to have more than one config FILE).