diff options
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 { |
