jcli v0.12.0 (2021-01-28T09:25:30Z)
Dub
Repo
convBinder
jaster
cli
binder
arg -> numeric | enum | bool. The result is
arg
converted to
T
.
@
safe
pure
@
ArgBinderFunc
Result
!
T
convBinder
(
T
)
(
string
arg
)
if
(
isNumeric
!
T
||
is
(
T
==
bool
)
||
is
(
T
== enum)
)
Meta
Source
See Implementation
jaster
cli
binder
functions
convBinder
stringBinder
structs
ArgBindWith
ArgBinder
ArgBinderFunc
ArgValidator
PostValidate
PreValidate
arg -> numeric | enum | bool. The result is arg converted to T.