diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 14:04:50 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 14:04:50 -0500 |
| commit | a377c2ed273412e7a98870b8005a431df16f4380 (patch) | |
| tree | 4000662c0c7c3f8280df0d5175de22106f3a9805 /main.go | |
| parent | 3c6ecda8a18c506a432eb62493523e37bc41c1bc (diff) | |
autocomplete examplesv0.25.24
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -41,18 +41,15 @@ func getVersion(repo *gitpb.Repo, name string) string { func main() { me = new(mainType) - me.myGui = prep.Gui() // prepares the GUI package for go-args - me.auto = prep.Bash3(&argv) // this line should be: prep.Bash(&argv) - // me.auto = prep.Bash3(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? + // the current os.Argv processing with go-args + me.myGui = prep.Gui() // adds the GUI package args support + me.auto = prep.Bash(&argv) // adds auto complete to go-args + // the current forge init process me.forge = forgepb.Init() // init forge.pb me.forge.ScanRepoDir() // looks for new dirs, checks existing repos for changes - - // initialize patches - doPatchInit() + doPatchInit() // initialize patches // first find the repos or gopaths to operate on if argv.Config != nil { |
