cmdline v1.3.4 (2024-09-24T03:22:01Z)
Dub
Repo
Argument.choices
cmdline
argument
Argument
set the choices of argument inner type
Self
choices
(T[] values)
class
Argument
Self
choices
(
T
)
(
T
[]
values
)
if
(
isBaseArgValueType
!
T
)
Self
choices
(T value, T[] rest)
Meta
Source
See Implementation
cmdline
argument
Argument
aliases
Self
constructors
this
functions
choices
choicesStr
cliVal
configVal
defaultVal
defaultValStr
description
get
initialize
isValid
rangeOf
rangeOfStr
typeStr
properties
attrName
isOptional
isRequired
name
readableArgName
variables
_description
_name
defaultDescription
required
settled
source
variadic
set the choices of argument inner type