summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 05:01:42 -0500
committerJeff Carr <[email protected]>2025-10-19 05:01:42 -0500
commit9ac5032144a72a71515cdccbfddce44bdb8b9d2c (patch)
treed25fe8435475e86347368ec62f14b843c38a568c /structs.go
parent7abc658c20a143bef36e30ad34719776bbc7a505 (diff)
new argv schemev0.22.166
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 24f90ad..a9e6516 100644
--- a/structs.go
+++ b/structs.go
@@ -1,6 +1,7 @@
package main
import (
+ "go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
"go.wit.com/lib/fhelp"
"go.wit.com/lib/gadgets"
@@ -13,7 +14,8 @@ var me *mainType
// this app's variables
type mainType struct {
- sh *argvpb.Argv // shell autocomplete
+ argv *argvpb.Argv // shell autocomplete
+ pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
myGui *fhelp.GuiPrep // the gui handle itself
origGui *gui.Node // the gui handle itself
pb *zoopb.Package // the .deb package protobuf