still thinking this out
This commit is contained in:
parent
58ce9ca53c
commit
19479f312f
11
main.go
11
main.go
|
@ -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()
|
||||
|
|
|
@ -28,7 +28,8 @@ func myServer() string {
|
|||
|
||||
// this app's variables
|
||||
type mainType struct {
|
||||
pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
|
||||
pp *arg.Parser // for parsing the command line args. Yay to alexflint!
|
||||
auto *prep.Auto // more experiments for bash handling
|
||||
forge *forgepb.Forge // for holding the forge protobuf files
|
||||
myGui *prep.GuiPrep // for initializing the GUI toolkits
|
||||
foundPaths []string // stores gopaths to act on (when doing go-clone)
|
||||
|
|
Loading…
Reference in New Issue