diff options
| author | Jeff Carr <[email protected]> | 2025-10-24 10:30:09 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-24 10:30:09 -0500 |
| commit | 2b46985ae8def4ff5779fbc027a6ddbe7a1a6a8d (patch) | |
| tree | c38a46169ddfd57a3f4619012e63d76f63980a81 /structs.go | |
| parent | 41cf7c3c4ca2fbfca7f9c2328e6f4e0ac34661d9 (diff) | |
still kinda works. newer argv.proto
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,7 @@ var me *AutoArgs // this is a work in progress type AutoArgs struct { pb *Argv // the protobuf for the current process + last *Argv // the pb from the last time the user tried 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 @@ -22,4 +23,8 @@ type AutoArgs struct { 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 + } |
