summaryrefslogtreecommitdiff
path: root/bash.orig.go
diff options
context:
space:
mode:
Diffstat (limited to 'bash.orig.go')
-rw-r--r--bash.orig.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/bash.orig.go b/bash.orig.go
index 52920eb..ecd6bdd 100644
--- a/bash.orig.go
+++ b/bash.orig.go
@@ -26,14 +26,15 @@ var myAuto *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
- appName string // a good way to track the name of the binary ?
- examples func() string // some examples
- pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
- autoFunc func(*Auto) // also a function for autocomplete
- match map[string]string // maps for strings
+ id int // should be unique
+ hidden bool // don't update the toolkits when it's hidden
+ Auto func([]string) // the function for shell autocomplete
+ appName string // a good way to track the name of the binary ?
+ examples func() string // some examples
+ buildtime func() (string, string) // some examples
+ pp *arg.Parser // for parsing the command line args. Yay to alexf lint!
+ autoFunc func(*Auto) // also a function for autocomplete
+ match map[string]string // maps for strings
}
// print out auto complete debugging info