From 411226cf9df0814ff8e714958da87c853b519bc6 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 16 Oct 2025 13:58:28 -0500 Subject: A new life awaits you in the Off-world colonies! --- structs.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 2594094..bfbe429 100644 --- a/structs.go +++ b/structs.go @@ -1,4 +1,4 @@ -package prep +package argvpb // initializes logging and command line options @@ -28,17 +28,17 @@ var me *AutoArgs // this is a work in progress type AutoArgs struct { - id int // should be unique - // hidden bool // don't update the toolkits when it's hidden - Auto func([]string) // the function for shell autocomplete + id int // should be unique + hidden bool // don't update the toolkits when it's hidden + Argv func([]string) // the function for shell autocomplete examples func() string // some examples appExit func() // app Exit() buildtime func() (string, string) // some examples - autoFunc func(*Auto) // also a function for autocomplete + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! + autoFunc func(*Argv) // also a function for autocomplete guiFunc func() error // enables Gui functions err error // store any errors from argv - pp *arg.Parser // for parsing the command line args. Yay to alexf lint! - pb *Auto + pb *Argv ARGNAME string // a good way to track the name of the binary ? VERSION string -- cgit v1.2.3