summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-18 11:16:44 -0500
committerJeff Carr <[email protected]>2025-10-18 11:16:44 -0500
commit9278157fc2a5ac8835dbc1aa505ccff9ec5f064f (patch)
treef50bfcf029dff7bd2b7852f86489ed3a2db06cd2 /structs.go
parent42727d1d27bc2cd3f772396e3c6bea5b3df2e01d (diff)
new argv support scheme
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index c1df6cb..d022e67 100644
--- a/structs.go
+++ b/structs.go
@@ -4,6 +4,7 @@
package main
import (
+ "go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gadgets"
@@ -31,6 +32,7 @@ func myServer() string {
// this app's variables
type mainType struct {
sh *argvpb.Argv // shell autocomplete
+ pp *arg.Parser // the go-arg parser of the command line
forge *forgepb.Forge // for holding the forge protobuf files
myGui *fhelp.GuiPrep // for initializing the GUI toolkits
origGui *gui.Node // for initializing the GUI toolkits