diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 13:58:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 01:45:59 -0500 |
| commit | 411226cf9df0814ff8e714958da87c853b519bc6 (patch) | |
| tree | eea63f72a2614a0cec3c844edbf7cf162e4257e2 /structs.go | |
| parent | 28839452b290b83d409193044c5737a92cc1ec3e (diff) | |
A new life awaits you in the Off-world colonies!v0.0.39
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |
