diff options
| author | Jeff Carr <[email protected]> | 2025-10-25 09:03:31 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-25 09:03:31 -0500 |
| commit | 221839190ba296268926589dd50416c3e7cac24a (patch) | |
| tree | d2931fdefa42495bafad86b44c79e07da1508c3b /structs.go | |
| parent | b95f2cab06e5de8fec71b0b991777f5d5cb1fa90 (diff) | |
something farther along?
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -8,6 +8,11 @@ type AutoArgs struct { pb *Argv // the protobuf for the current process all *Argvs // the history of argv last *Argv // the pb from the last time the user tried autocomplete + flags []string // notsure + Err error // store any errors from argv + debug bool // is dubugging on? + setupAuto bool // do shell autocomplete setup + isAuto bool // try to do autocomplete id int // should be unique Argv func([]string) // the function for shell autocomplete initArgvFunc func() (string, string, string) // this is required. gets APPNAME, BUILDTIME & VERSION @@ -23,8 +28,4 @@ type AutoArgs struct { buildtime func() (string, string) // some examples autoFunc func(*Argv) // also a function for autocomplete guiFunc func() error // enables Gui functions - Err error // store any errors from argv - debug bool // is dubugging on? - setupAuto bool // do shell autocomplete setup - isAuto bool // try to do autocomplete } |
