From 9ac5032144a72a71515cdccbfddce44bdb8b9d2c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 05:01:42 -0500 Subject: new argv scheme --- structs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'structs.go') 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 -- cgit v1.2.3