diff options
| author | Jeff Carr <[email protected]> | 2025-09-18 15:24:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-18 15:24:20 -0500 |
| commit | 4d4dcf31cb466d441024978420f548346c088537 (patch) | |
| tree | 605449c25c1ef17214e1d963f60bc1750938d8db /main.go | |
| parent | 19479f312f1a5da2d271198f4e1bd950844dcb98 (diff) | |
slowly working out autocomplete kinks
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -10,7 +10,6 @@ import ( "strings" "time" - "go.wit.com/dev/alexflint/arg" "go.wit.com/lib/gui/prep" "go.wit.com/lib/gui/shell" "go.wit.com/lib/protobuf/forgepb" @@ -44,9 +43,11 @@ func getVersion(repo *gitpb.Repo, name string) string { func main() { me = new(mainType) - me.auto = prep.Bash2(ARGNAME, argv.DoAutoComplete) // this line should be: prep.Bash(&argv) - me.myGui = prep.Gui() // prepares the GUI package for go-args - me.pp = arg.MustParse(&argv) // these three lines are becoming terrible syntax + // prep.Bash2(ARGNAME, argv.DoAutoComplete) // this line should be: prep.Bash(&argv) + me.myGui = prep.Gui() // prepares the GUI package for go-args + me.auto = prep.Bash3(ARGNAME, argv.DoAutoComplete, &argv) // this line should be: prep.Bash(&argv) + // arg.MustParse(&argv) // these three lines are becoming terrible syntax + // me.auto = prep.MustParse(&argv) // try to make this work? me.forge = forgepb.Init() // init forge.pb me.forge.ScanRepoDir() // looks for new dirs, checks existing repos for changes |
