You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cobra/viper related & could possibly be looked at when handling this issue:
I've noticed cli/cmd/root.go has 2 calls of viper.AutomaticEnv(). I haven't looked any further to see if one could be safely deleted, but imagine this is unintentional.
To avoid getting flags out of sync if we ever change them, the viper names should use constants. So instead of:
do this:
Keep the flags related to whatever commands they reference. No need to reference variables from way across the project.
The text was updated successfully, but these errors were encountered: