-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tfswitch -v should not apply anything - it should only print the tfswitch version #443
Comments
I guess there's a couple of options here:
|
@MatthewJohn For this particular issue, I think it's not about logging, but about |
Like not proceed all the way down to the end of function from https://github.com/warrensbox/terraform-switcher/blob/master/lib/param_parsing/parameters.go#L54, but instead |
Hmm, it's a bit wider issue where we'd want more options to omit TF version exploration. Ex: #420 (reply in thread) From what I see at https://github.com/warrensbox/terraform-switcher/blob/master/lib/param_parsing/parameters.go#L35-L50, we should skip finding TF version for these options:
|
…-does-not-work-under-windows Fix for #443 - Error unzipping on windows systems
Is your feature request related to a problem? Please describe.
Currently the tfswitch -v reads config files and applies them when you pass
-v
. Previously, it only printed the tfswitch versionDescribe the solution you'd like
tfswitch -v should not apply anything - it should only print the tfswitch version
Current:
Needs to look like:
The text was updated successfully, but these errors were encountered: