jcli ~master (2022-03-09T18:57:21Z)
Dub
Repo
CommandArgumentsInfo
jcli
introspect
data
Undocumented in source.
template
CommandArgumentsInfo (
TCommand
) {
alias
CommandType
=
TCommand
;
immutable
NamedArgumentInfo
[]
named
;
immutable
PositionalArgumentInfo
[]
positional
;
import
std
.
algorithm
;
;
enum
size_t
numRequiredPositionalArguments
;
enum
takesOverflow
;
immutable
static if
(
takesOverflow
)
ArgumentCommonInfo
overflow
;
enum
takesRaw
;
immutable
static if
(
takesRaw
)
ArgumentCommonInfo
raw
;
enum
takesSomeArguments
;
}
Members
Aliases
CommandType
alias
CommandType
=
TCommand
Undocumented in source.
Manifest constants
takesOverflow
enum
takesOverflow
;
Undocumented in source.
takesRaw
enum
takesRaw
;
Undocumented in source.
takesSomeArguments
enum
takesSomeArguments
;
Undocumented in source.
Variables
named
NamedArgumentInfo
[]
named
;
Includes the simple string usage, which gets converted to an ArgNamed uda.
numRequiredPositionalArguments
enum
size_t
numRequiredPositionalArguments
;
Undocumented in source.
overflow
ArgumentCommonInfo
overflow
;
Undocumented in source.
positional
PositionalArgumentInfo
[]
positional
;
Undocumented in source.
raw
ArgumentCommonInfo
raw
;
Undocumented in source.
Meta
Source
See Implementation
jcli
introspect
data
mixin templates
ArgumentGetters
structs
ArgumentCommonInfo
NamedArgumentInfo
PositionalArgumentInfo
templates
CommandArgumentsInfo
CommandInfo
getArgumentFieldRef
getArgumentFieldSymbol
getCommandUDAs
getCommonArgumentInfo
isNameMatch