summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 02:55:24 -0500
committerJeff Carr <[email protected]>2025-10-19 02:55:24 -0500
commit7b268437f40ffd15fe659b3662d984910a6faefe (patch)
tree109a47aaea9662da01d2d1a9b3f87601855b190d /structs.go
parent618bcf3a36f2229fb819be8164783e945c157a5a (diff)
start converting over to new argv scheme
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 2dadbd6..8034c3b 100644
--- a/structs.go
+++ b/structs.go
@@ -4,6 +4,9 @@
package main
import (
+ "go.wit.com/dev/alexflint/arg"
+ "go.wit.com/gui"
+ "go.wit.com/lib/fhelp"
"go.wit.com/lib/protobuf/argvpb"
)
@@ -11,6 +14,8 @@ var me *mainType
// this app's variables
type mainType struct {
- argv *argvpb.Argv // shell autocomplete
- myGui *argvpb.GuiPrep // the gui toolkit handle
+ argv *argvpb.Argv // shell autocomplete
+ pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
+ gui *gui.Node // the gui toolkit handle
+ myGui *fhelp.GuiPrep // the gui toolkit handle
}