dub v1.39.0-beta.1 (2024-07-01T22:51:36Z)
Dub
Repo
CommandArgs.getopt
dub
commandline
CommandArgs
Undocumented in source. Be warned that the author may not have intended to support it.
void
getopt
(string names, T* var, string[] help_text, bool hidden)
void
getopt
(string names, T* var, void delegate(string, string) @(safe) parseValue, string[] help_text, bool hidden)
class
CommandArgs
void
getopt
(
T
)
(
string
names
,
T
*
var
,
void
delegate
(
string
,
string
)
@
safe
parseValue
,
string
[]
help_text
= null
,
bool
hidden
= false
)
Meta
Source
See Implementation
dub
commandline
CommandArgs
constructors
this
functions
dropAllArgs
extractAllRemainingArgs
extractRemainingArgs
getopt
properties
appArgs
hasAppArgs
hasAppVersion
recognizedArgs
structs
Arg