Skip to content
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

Should support -chdir flag #11

Open
hileef opened this issue Aug 16, 2022 · 0 comments
Open

Should support -chdir flag #11

hileef opened this issue Aug 16, 2022 · 0 comments

Comments

@hileef
Copy link

hileef commented Aug 16, 2022

At this time, this friendly tool appears to expect to find the terraform module in the current working directory in order to select a terraform version. In some cases (esp. w.r.t. scripting), it can be beneficial to indicate a directory a given process is expected to changes it working directory to ; in the case of terraform, that would be via the -chdir flag.

It would be awesome if this tool supported that flag by using it as the directory to search its required version at (when provided of course, falling back to its current behaviour) 🙏

If no one is against it I'll attempt a tentative implementation in the near future. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant