def print_each_description(text, descSize, descColor, excludingDescSum, C):

    i = 0

    if L(text) < descSize:
        click.secho("%*s" % (-descSize, text), bold=True, fg=descColor)
    else:
        LN = L(text)

        while i < LN:
            if L(text) < descSize:
                optSize = L(text)
            else:
                # check for space
                if text[descSize] == ' ':
                    optSize = descSize
                else:
                    lastSpace = text[:descSize+1].rfind(' ')
                    if lastSpace == -1:
                        lastSpace = descSize
                    optSize = lastSpace

            if i == 0:
                click.secho(
                    "%*s" % (-descSize, text[:optSize]),
                    bold=True, fg=descColor, nl=False)
            else:
                click.secho(
                    "%*s" % (excludingDescSum-1, ' '),
                    bold=True, fg=descColor, nl=False)
                click.secho(
                    "%*s" % (-C, text[:optSize]),
                    bold=True, fg=descColor)

            text = text[optSize:]
            i += (optSize+1)
Special function for printing description in column format
dataset/ETHPy150Open staranjeet/github-trending-cli/githubtrending/helpers.py/print_each_description