Currently the location of the config and credentials file is hard-coded to certain locations - see:
|
Creds.AddConfigPath("$HOME/." + viper.GetString("app-name") + "/") |
|
viper.AddConfigPath("/etc/" + appName + "/") |
This would allow to use dynamically created config and credentials files to prevent race conditions, if the CLI is used in parallel for different situations.