def colorize_CMDstatus_doc():
    'To be called once in main() to add colors to git cl status help.'
    colors = [i for i in dir(Fore) if i[0].isupper()]

    def colorize_line(line):
        for color in colors:
            if (color in line.upper()):
                indent = ((len(line) - len(line.lstrip(' '))) + 1)
                return (((line[:indent] + getattr(Fore, color)) + line[indent:]) + Fore.RESET)
        return line
    lines = CMDstatus.__doc__.splitlines()
    CMDstatus.__doc__ = '\n'.join((colorize_line(l) for l in lines))
To be called once in main() to add colors to git cl status help.
def colorize_CMDstatus_doc():
    
    colors = [i for i in dir(Fore) if i[0].isupper()]

    def colorize_line(line):
        for color in colors:
            if (color in line.upper()):
                indent = ((len(line) - len(line.lstrip(' '))) + 1)
                return (((line[:indent] + getattr(Fore, color)) + line[indent:]) + Fore.RESET)
        return line
    lines = CMDstatus.__doc__.splitlines()
    CMDstatus.__doc__ = '\n'.join((colorize_line(l) for l in lines))