diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 14:05:33 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 14:05:33 -0500 |
| commit | 0f8eaec720a5a98d84242b431537dcc4c190c974 (patch) | |
| tree | df6f57ba32f7d0e137aa55aa339f3264b07a9409 /bash.orig.go | |
| parent | 69943556c09fe6b178afb33a8a6346adb3bd50e7 (diff) | |
first stab and go-arg Examples()
Diffstat (limited to 'bash.orig.go')
| -rw-r--r-- | bash.orig.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bash.orig.go b/bash.orig.go index 1753498..52920eb 100644 --- a/bash.orig.go +++ b/bash.orig.go @@ -30,6 +30,7 @@ type AutoArgs struct { 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 |
