You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just stumbled onto this when doing a codelab, (see thought-machine/please#3303), and believe this crash is occurring because #306 removed the "get" handler but left this struct in place. When I remove the struct, I get a helpful error message:
$ please_go get
please-go is used by the go build rules to compile and test go modules and packages.
Unlike 'go build', this tool doesn't rely on the go path or modules to find packages. Instead it takes in
a go import config just like 'go tool compile/link -importcfg'.
Usage:
please_go [OPTIONS] <command>
Help Options:
-h, --help Show this help message
Available commands:
cover Generates coverage information for a package.
embed Generate embed config for a set of Go source files (aliases: e)
filter Filter go sources based on the go build tag rules. (aliases: f)
generate Generate build targets for a Go module (aliases: g)
generate_module_version Generates a module version file for a third-party Go module
install Compile a go module similarly to 'go install' (aliases: i)
modinfo Generates Go modinfo for the linter
module_info Creates an info file about a series of packages in a go_module (aliases: m)
package_info Creates an info file about a Go package (aliases: p)
testmain Generates a go main package to run the tests in a package. (aliases: t)
Unknown command `get'. Please specify one command of: cover, embed, filter, generate, generate_module_version, install, modinfo, module_info, package_info or testmain
The text was updated successfully, but these errors were encountered:
I just stumbled onto this when doing a codelab, (see thought-machine/please#3303), and believe this crash is occurring because #306 removed the "get" handler but left this struct in place. When I remove the struct, I get a helpful error message:
The text was updated successfully, but these errors were encountered: