mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-12 22:00:52 -05:00
We previously adopted the new "tools" mechanism for the third-party tools we use for go:generate, etc. However, it's also acceptable to include tools from our own module in this list, which then makes it possible to run them using the same "go tool" shorthand. For example, it's now possible to run "go tool protobuf-compile" to rebuild the protocol buffers schemas, or "go tool tofu" as a shorthand way to compile and run OpenTofu CLI itself. It still remains possible to run these tools in the same ways they used to work. This is just a new way to get the same results through a more modern Go toolchain feature. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>