proposal: move main
package into cmd/asdf
and rename module for compatibility with go install
#84
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe
Installing the new Go version is a bit strangely roundabout, especially for a Go CLI tool.
Describe the proposed solution
The convention for Go projects is to put
main
packages in a subdirectory ofcmd
named the same as what the output binary should be so that they can be easily installed with, for example,go install github.com/asdf-vm/asdf-core-go/cmd/asdf@latest
. This would also make it possible to keep ASDF up to date via, for example, gup as a replacement for the removedasdf update
command.The module name will also need to be updated to follow Go conventions, changing from
asdf
togithub.com/asdf-vm/asdf-core-go
.Describe similar
asdf
features and why they are not sufficientasdf update
is being removed in the Go rewrite.Describe other workarounds you've considered
N/A.
The text was updated successfully, but these errors were encountered: