Generic element validation use validation=... More...
Public Member Functions | |
def | __init__ (self, option_strings, validation, validationErrorText, *args, **kwargs) |
def | __call__ (self, parser, namespace, values, option_string=None) |
Public Attributes | |
validation | |
validationErrorText | |
Generic element validation use validation=...
to specify a lambda functions that returns True if element is valid and False otherwise use validationErrorText=... to specify the error text that is output if validation fails