diff options
| author | Jeff Carr <[email protected]> | 2025-10-18 06:37:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-18 06:37:00 -0500 |
| commit | b2c353f48082a1d581bee0b6ee71c93f58bff603 (patch) | |
| tree | 1a77d472dda8d720b13e15f4ca39d8645396d5f3 /structs.go | |
| parent | 8d1a704d6f41b5f08aabc276d1476266f51c5b63 (diff) | |
pass the flags to the go-arg parser
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,8 +10,8 @@ type AutoArgs struct { Argv func([]string) // the function for shell autocomplete initArgv func() (string, string, string) // this is required. gets APPNAME, BUILDTIME & VERSION initGuiFunc func() error // this is required for 'gui' args to work - mustParseFunc func() error // notsure yet - parseFlags func([]string) error // notsure yet + mustParseFunc func() error // calls go-arg.MustParse() + parseFlagsFunc func([]string) error // notsure yet writeHelp func() // notsure yet writeHelpForSubcommand func(string) // notsure yet writeHelpForAutocomplete func() // notsure yet |
