def filters_from_cli(filters):
    """Takes a list of filters given in the form of ``name:value`` and converts them to a dictionary.

    :param filters: A list of strings of ``attribute:value`` pairs.
    :type filters: list[str]

    :rtype: dict

    """
    _filters = dict()
    for i in filters:
        key, value = i.split(":")
        if key not in filters:
            _filters[key] = list()

        _filters[key].append(value)

    return _filters