We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e01449f commit a41f969Copy full SHA for a41f969
1 file changed
internal/commands/root.go
@@ -126,9 +126,10 @@ func NewAstCLI(
126
if cmd.Flags().Changed(params.AccessKeyIDFlag) || cmd.Flags().Changed(params.AccessKeySecretFlag) {
127
viper.Set(params.AstAPIKey, "")
128
}
129
- if cmd.Flags().Changed(params.AstAPIKeyFlag) {
+ /*if cmd.Flags().Changed(params.AstAPIKeyFlag) {
130
viper.Set(params.AccessKeyIDConfigKey, "")
131
- }
+ viper.Set(params.AccessKeySecretConfigKey, "")
132
+ }*/
133
// Need to check the __complete command to allow correct behavior of the autocomplete
134
if len(args) > 0 && cmd.Name() != params.Help && cmd.Name() != "__complete" {
135
_ = cmd.Help()
0 commit comments