From 7b268437f40ffd15fe659b3662d984910a6faefe Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 02:55:24 -0500 Subject: start converting over to new argv scheme --- structs.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'structs.go') 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 } -- cgit v1.2.3