diff options
| author | Jeff Carr <[email protected]> | 2025-10-02 20:13:57 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-02 20:13:57 -0500 |
| commit | 17d8a371af62f2abfd8ce612e79aa34e16ecaec2 (patch) | |
| tree | 1a09997afeba3eaa2878dbd7b830e53d95049a19 /main.go | |
| parent | 8bfcfbe3e400131f158360772dc1e4521a292341 (diff) | |
rename 'wit'
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -22,7 +22,7 @@ var VERSION string var BUILDTIME string // used for shell auto completion -var ARGNAME string = "wit-test" // todo: get this from $0 ? +var ARGNAME string = "wit" // todo: get this from $0 ? var failed map[*gitpb.Repo]string var state map[*gitpb.Repo]string @@ -34,16 +34,21 @@ func main() { dumpDebug() - failed = make(map[*gitpb.Repo]string) - state = make(map[*gitpb.Repo]string) - debnames = make(map[*gitpb.Repo]string) - if argv.Upgrade != nil { me.machine, _ = zoopb.InitMachine() doAptUpgrade() okExit("") } + if argv.Git != nil { + doGit() + okExit("") + } + + failed = make(map[*gitpb.Repo]string) + state = make(map[*gitpb.Repo]string) + debnames = make(map[*gitpb.Repo]string) + me.forge = forgepb.Init() me.forge.Config.DumpENV() |
