def METHOD_NAME(array):
    """
    Return a shell-quoted version of the input array.
    :param array: input array
    :return: the shell-quoted string
    """
    return " ".join(pipes.quote(item) for item in array)