commando ~master (2022-05-05T23:03:09.2519285)
Dub
Repo
ArgumentSyntax.option
commando
ArgumentSyntax
Undocumented in source. Be warned that the author may not have intended to support it.
void
option
(char shortName, string longName, TVal* value, Required required, string helpText)
void
option
(string longName, TVal* value, Required required, string helpText)
void
option
(string longName, TVal* value, TFun parser, Required required, string helpText)
void
option
(char shortName, string longName, TVal* value, TFun parser, Required required, string helpText)
class
ArgumentSyntax
void
option
(
TVal
TFun
)
(
char
shortName
,
string
longName
,
TVal
*
value
,
TFun
parser
,
Required
required
,
string
helpText
)
if
(
hasSignature
!(
parser
,
TVal
,
string
)
)
Meta
Source
See Implementation
commando
ArgumentSyntax
functions
command
option
variables
config