* Works on every system with golang 1.17.x installed
* Supports "latest" and explicit version "pinning"
* Awesome for scripting, no install step necessary
For example, I like to use both yq 3.x and yq 4.x
go run github.com/mikefarah/yq/v3@latest
go run github.com/mikefarah/yq/v4@latest
Disadvantages:
* An index of "go runnable" cli programs would be helpful
* Doesn't work if go.mod contains replace directives
Some advantages:
* Works on every system with golang 1.17.x installed * Supports "latest" and explicit version "pinning" * Awesome for scripting, no install step necessary
For example, I like to use both yq 3.x and yq 4.x
go run github.com/mikefarah/yq/v3@latest
go run github.com/mikefarah/yq/v4@latest
Disadvantages:
* An index of "go runnable" cli programs would be helpful * Doesn't work if go.mod contains replace directives