crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
9becfc9d
ROOT
/
go
/
libraries
/
utils
/
argparser
/
parser.go
Search
History
349 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
optNameValDelimChars
whitespaceChars
helpFlag
helpFlagAbbrev
ValidatorFromStrList
(paramName string, validStrList []string)
:
ValidationFunc
ArgParser
Supported
:
[]*Option
nameOrAbbrevToOpt
:
map[string]*Option
ArgListHelp
:
[][2]string
NewArgParser
()
:
*ArgParser
getListValues
(args []string)
:
[]string
*ArgParser
SupportOption
(opt *Option)
SupportsFlag
(name, abbrev, desc string)
:
*ArgParser
SupportsAlias
(alias, original string)
:
*ArgParser
SupportsString
(name, abbrev, valDesc, desc string)
:
*ArgParser
SupportsStringList
(name, abbrev, valDesc, desc string)
:
*ArgParser
SupportsOptionalString
(name, abbrev, valDesc, desc string)
:
*ArgParser
SupportsValidatedString
(name, abbrev, valDesc, desc string, validator ValidationFunc)
:
*ArgParser
SupportsUint
(name, abbrev, valDesc, desc string)
:
*ArgParser
SupportsInt
(name, abbrev, valDesc, desc string)
:
*ArgParser
sortedModalOptions
()
:
[]string
matchModalOptions
(arg string)
:
(matches []*Option, rest string)
sortedValueOptions
()
:
[]string
matchValueOption
(arg string)
:
(match *Option, value *string)
Parse
(args []string)
:
(*ArgParseResults, error)
All occurrences
Please wait...
Page is in error, reload to recover