from typing import Iterable


def ensure_iterable(value):
    """ensure that the results of a command are always iterable"""
    if isinstance(value, Iterable):
        return value
    return tuple((value,))