It would be nice to be able to get the version of the binary through a flag eg. crd-ref-docs --version. We rely on doing this in order to ensure that our team uses the right versions of binaries. We would like to be able to do something like this in our Makefile:
This make target will download the binary and install it in ./tools/bin if it doesn't exist or the version doesn't match what we have in the go module in ./tools/go.mod.
It would be nice to be able to get the version of the binary through a flag eg.
crd-ref-docs --version
. We rely on doing this in order to ensure that our team uses the right versions of binaries. We would like to be able to do something like this in our Makefile:This make target will download the binary and install it in
./tools/bin
if it doesn't exist or the version doesn't match what we have in the go module in./tools/go.mod
.