bwplotka / bingo

Like `go get` but for Go tools! CI Automating versioning of Go binaries in a nested, isolated Go modules.
Apache License 2.0
361 stars 29 forks source link

How to run installed tools? #52

Closed cszatmary closed 3 years ago

cszatmary commented 3 years ago

After I install tools with bingo get what is the intended way to run them?

It would be nice if there was a command where given a tool name it would find the path to the installed tool and execute it.

Example of what this might look like:

bingo run golangci-lint run
bwplotka commented 3 years ago

Hey, sorry for the delayed response, I am lagging behind GH notifications 😱

This is a valid question overall. I think it was not well explained. I improved docs here: https://github.com/bwplotka/bingo/pull/56 @cszatmary does it make sense? 🤗

There are some tools that wanted to support something like run command, but I believe there is no need for something like this. We can totally use native OS tools like shell and its variable to achieve the same, no? See this doc.

To sum up, I see 3 reasons why using the native way might be better:

Hope this makes sense (:

wmcnamee-coreweave commented 1 month ago

ya, I'm in the same boat here. I just found out about this tool, which seems good, except it would be great if symlinks were made instead of having to source the variables.env and use all caps TOOL_NAME. I essentially need tool installs to be transparent.