clid.validate

Members

Functions

Validate
bool Validate(string arg, int n)

Validates a command line argument.

Validate
bool Validate(string arg, string str)

Validates a command line argument.

doesNotExist
bool doesNotExist(string arg, string str)

Validates that the argument does not refer to anything on the filesystem.

isDir
bool isDir(string arg, string str)

Validates that argument refers to a valid directory.

isFile
bool isFile(string arg, string str)

Validates that argument refers to a valid file.

isNotEmpty
bool isNotEmpty(string arg, string str)

Validates that the string is not empty.

Meta