diff options
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 + } |
