diff options
| author | Jeff Carr <[email protected]> | 2025-09-23 12:14:26 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-23 14:50:21 -0500 |
| commit | b09b86009ecb17c171aab400af73a568d084f49e (patch) | |
| tree | af6767d0f83305b63b38bc544fe75c49d84a6492 /main.go | |
| parent | 1f22b771c3748b01d0d27574090fd2b6d4516182 (diff) | |
some fun stuff
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -6,7 +6,6 @@ import ( "net/http" "time" - "go.wit.com/dev/alexflint/arg" "go.wit.com/lib/fhelp" "go.wit.com/lib/gui/prep" "go.wit.com/lib/protobuf/forgepb" @@ -27,9 +26,8 @@ var LIBDIR string = "/var/lib/forged/" // need to deprecate this func main() { me = new(mainType) - prep.Bash(ARGNAME, argv.DoAutoComplete) // todo: this line should be: prep.Bash(argv) - me.myGui = prep.Gui() // prepares the GUI package for go-args - me.pp = arg.MustParse(&argv) + me.myGui = prep.Gui() // prepares the GUI package for go-args + me.auto = prep.Bash3(&argv) // this line should be: prep.Bash(&argv) me.forge = forgepb.InitByAppname(ARGNAME) |
