diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 03:23:24 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 03:23:24 -0500 | 
| commit | f09217ebc7870ea9ab1f4b523666ac1497d99f86 (patch) | |
| tree | 32e31eef4ea07e391475234a43794e79d709e592 | |
| parent | e57eb14eee47ae2b636f27cf4f41620a66f7082c (diff) | |
run around the block another time. this time publishing toov0.23.142
| -rw-r--r-- | argv.go | 8 | ||||
| -rw-r--r-- | main.go | 3 | ||||
| -rw-r--r-- | structs.go | 4 | 
3 files changed, 12 insertions, 3 deletions
@@ -3,6 +3,8 @@ package main  import (  	"os" +	"go.wit.com/gui" +	"go.wit.com/lib/fhelp"  	"go.wit.com/lib/gui/prep"  ) @@ -66,6 +68,12 @@ func (args) Buildtime() (string, string) {  	return BUILDTIME, VERSION  } +func (args) ArgvGui() error { +	me.myGui = fhelp.Gui() // adds the GUI package argv support +	me.origGui = gui.New() +	return nil +} +  func (a args) DoAutoComplete(pb *prep.Auto) {  	if pb.Cmd == "" {  		pb.Autocomplete3([]string{"--bash", "quick", "--dry-run", "--full", "--reason", "--version", "--auto-run", "--keep-gomod"}) @@ -29,8 +29,7 @@ var argv args  func main() {  	me = new(autoType) -	me.myGui = prep.Gui()     // prepares the GUI package for go-args -	me.sh = prep.Bash3(&argv) // bash autocomplete +	me.sh = prep.Autocomplete(&argv) // adds shell auto complete to go-args  	me.forge = forgepb.Init()  	me.found = new(gitpb.Repos) @@ -3,6 +3,7 @@ package main  import (  	"go.wit.com/gui" +	"go.wit.com/lib/fhelp"  	"go.wit.com/lib/gadgets"  	"go.wit.com/lib/gui/prep"  	"go.wit.com/lib/protobuf/forgepb" @@ -13,7 +14,8 @@ var me *autoType  type autoType struct {  	sh             *prep.Auto             // more experiments for bash handling -	myGui          *prep.GuiPrep          // the gui handle itself +	myGui          *fhelp.GuiPrep         // the gui handle itself +	origGui        *gui.Node              // the gui handle itself  	releaseReasonS string                 // = "gocui dropdown select"  	release        releaseStruct          // notsure  	reposbox       *gui.Node              // notsure  | 
