Requires values (int) to be in `args`

    :param string: Value to validate
    :type string: str

def int_option(string, options):
    """ Requires values (int) to be in `args`

    :param string: Value to validate
    :type string: str
    """
    i = int(string)
    if i in options:
        return i

    raise ValueError('Not in allowed options')