From d02d2489e6e47a6e03594b55ff7b7ad45cdb243b Mon Sep 17 00:00:00 2001 From: Tim Burks Date: Tue, 26 Nov 2024 09:34:23 -0800 Subject: [PATCH] Remove options struct for the deleted "get" subcommand. (#309) * Remove options struct for the deleted "get" subcommand. * Update VERSION and Changelog for please_go. --- tools/please_go/ChangeLog | 4 ++++ tools/please_go/VERSION | 2 +- tools/please_go/please_go.go | 6 ------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tools/please_go/ChangeLog b/tools/please_go/ChangeLog index ab83f74..f7b58c0 100644 --- a/tools/please_go/ChangeLog +++ b/tools/please_go/ChangeLog @@ -1,3 +1,7 @@ +Version 1.15.2 +-------------- + * Fully remove `get` subcommand (#309) + Version 1.15.1 -------------- * Use more specific names for coverage variables to avoid clashes diff --git a/tools/please_go/VERSION b/tools/please_go/VERSION index ace4423..42cf067 100644 --- a/tools/please_go/VERSION +++ b/tools/please_go/VERSION @@ -1 +1 @@ -1.15.1 +1.15.2 diff --git a/tools/please_go/please_go.go b/tools/please_go/please_go.go index d2ae3ac..26aff64 100644 --- a/tools/please_go/please_go.go +++ b/tools/please_go/please_go.go @@ -100,12 +100,6 @@ var opts = struct { Requirements []string `positional-arg-name:"requirements" description:"Any module requirements not included in the go.mod"` } `positional-args:"true"` } `command:"generate" alias:"g" description:"Generate build targets for a Go module"` - GoGet struct { - ModFile string `short:"m" long:"mod_file" description:"A go.mod file to use as a set of reuirementzs"` - Args struct { - Requirements []string `positional-arg-name:"requirements" description:"a set of module@version pairs"` - } `positional-args:"true"` - } `command:"get" description:"Generate go_get rules"` ModInfo struct { GoTool string `short:"g" long:"go" env:"TOOLS_GO" required:"true" description:"The Go tool we'll use"` ModulePath string `short:"m" long:"module_path" description:"The path for the module being built"`