summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index f43b154..1c42be8 100644
--- a/structs.go
+++ b/structs.go
@@ -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
}