Re: [go-nuts] Re: Installing a package with an associated command

2022-05-25 Thread 'Sean Liao' via golang-nuts
`go install github.com/your/repo/cmd/...@latest` should work replace `latest` with specific versions (eg prereleases) if necessary - sean On Wed, May 25, 2022, 08:50 christoph...@gmail.com < christophe.mees...@gmail.com> wrote: > Indeed, it works. What if there are multiple binaries to install

[go-nuts] Re: Installing a package with an associated command

2022-05-25 Thread Peter Galbavy
It's worth noting that @latest only works for "releases" and not for tags/releases labelled pre-release. Just in case anyone hits the same issue I did a while back! :) On Wednesday, 25 May 2022 at 07:40:04 UTC+1 Volker Dobler wrote: > If you want the command to be installed: Why don't you insta

[go-nuts] Re: Installing a package with an associated command

2022-05-25 Thread christoph...@gmail.com
Indeed, it works. What if there are multiple binaries to install ? Does the user have to type the full package name for each program he want to install ? Isn’t there an equivalent to "go install ./..." that installs everything in one simple and short instruction ? Le mercredi 25 mai 2022 à 08

[go-nuts] Re: Installing a package with an associated command

2022-05-24 Thread Volker Dobler
If you want the command to be installed: Why don't you install _the_ _command_ with go install https://github.com/chmike/clog/cmd/clogClr@latest ? (Note that there is no need to install the package.) V. On Wednesday, 25 May 2022 at 08:13:58 UTC+2 christoph...@gmail.com wrote: > I have a sma