diff options
| author | Jeff Carr <[email protected]> | 2025-09-18 08:54:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-18 08:54:24 -0500 |
| commit | 19479f312f1a5da2d271198f4e1bd950844dcb98 (patch) | |
| tree | 97e29a41cfc404040bedc9bf089ee2566855d0d0 /main.go | |
| parent | 58ce9ca53c0ac51713dc153d4c7c53593f8b3406 (diff) | |
still thinking this out
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -44,13 +44,12 @@ func getVersion(repo *gitpb.Repo, name string) string { func main() { me = new(mainType) - 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) + 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 - me.forge = forgepb.Init() - - me.forge.ScanRepoDir() // looks for new dirs, checks existing repos for changes + me.forge = forgepb.Init() // init forge.pb + me.forge.ScanRepoDir() // looks for new dirs, checks existing repos for changes // initialize patches doPatchInit() |
