tfutils / tfenv

Terraform version manager
MIT License
4.54k stars 455 forks source link

feature: use command installs latest version matching pattern when given an incomplete version #244

Open jcollum opened 3 years ago

jcollum commented 3 years ago

Like:

tfenv use 0.12 # switches to 0.12.30 instead of 0.12.29
tfenv use 0.12.29 # switches to  exact version 

We use a couple of different versions (12 and 13) as part of our project but rarely use multiple patch versions. It's helpful to be able to switch versions without calling list first (to get the list of installed versions).

Zordrak commented 2 years ago

Is this not covered by tfenv use latest:^0.12 ?