summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 00:56:11 -0500
committerJeff Carr <[email protected]>2025-10-12 00:56:11 -0500
commit07eccc7f591fca0914a94782f4b5c8ba973d14d1 (patch)
treeb7d8e1c14cd4f44e26d0a12b698852796b78e93b /structs.go
parent9ad9c25bd36643e954fe0a3a1e5a2ba3ec92151b (diff)
Exit() callback
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 1f274f1..5b28289 100644
--- a/structs.go
+++ b/structs.go
@@ -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