cli-d ~master (2019-03-05T10:18:02Z)
Dub
Repo
Validate
clid
validate
Validates a command line argument.
bool
Validate
(
string
arg
,
int
n
)
bool
Validate
(
string
arg
,
string
str
)
bool
Validate
@
property
(
alias
f
)
(
string
arg
,
string
str
)
if
(
is
(
FunctionTypeOf
!(
f
) ==
function
) &&
is
(
Parameters
!(
f
)[1] ==
string
)
)
Meta
Source
See Implementation
clid
validate
functions
Validate
doesNotExist
isDir
isFile
isNotEmpty
Validates a command line argument.