def un_camel(string):
    """
    Separates words in camel-case with dashes.
    :param string:
    :return:
    """
    output = ""
    for i in range(len(string)):
        char = string[i]
        if char.isupper() and i > 0:
            output += f"-{char.lower()}"
        else:
            output += char.lower()
    return output