-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Currently the location of the config and credentials file is hard-coded to certain locations - see:
openapi-cli-generator/cli/credentials.go
Line 228 in 5c2358b
| Creds.AddConfigPath("$HOME/." + viper.GetString("app-name") + "/") |
openapi-cli-generator/cli/cli.go
Line 159 in 5c2358b
| 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels