diff options
| author | Jeff Carr <[email protected]> | 2025-10-12 00:56:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-12 00:56:11 -0500 |
| commit | 07eccc7f591fca0914a94782f4b5c8ba973d14d1 (patch) | |
| tree | b7d8e1c14cd4f44e26d0a12b698852796b78e93b /structs.go | |
| parent | 9ad9c25bd36643e954fe0a3a1e5a2ba3ec92151b (diff) | |
Exit() callback
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -31,6 +31,7 @@ type AutoArgs struct { 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 + appExit func() // app Exit() 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 |
