From 2bbc498b02cbbe3ba68de391bffbe79ab0f226fc Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 05:08:00 -0500 Subject: new argv --- structs.go | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 structs.go (limited to 'structs.go') diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..c767cbb --- /dev/null +++ b/structs.go @@ -0,0 +1,21 @@ +// Copyright 2017-2025 WIT.COM Inc. All rights reserved. +// Use of this source code is governed by the GPL 3.0 + +package main + +import ( + "go.wit.com/dev/alexflint/arg" + "go.wit.com/lib/fhelp" + "go.wit.com/lib/protobuf/argvpb" + "go.wit.com/lib/protobuf/forgepb" +) + +var me *mainType + +// this app's variables +type mainType struct { + argv *argvpb.Argv // more experiments for bash handling + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! + myGui *fhelp.GuiPrep // for initializing the GUI toolkits + forge *forgepb.Forge +} -- cgit v1.2.3