From 07eccc7f591fca0914a94782f4b5c8ba973d14d1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 12 Oct 2025 00:56:11 -0500 Subject: Exit() callback --- structs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'structs.go') 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 -- cgit v1.2.3