The cleanmymac.colors Module

cleanmymac.colors.get_color(key)[source]

gets the color for the given key

Parameters:key (str) – a key denoting a specific colored output (i.e., debug or success)
Returns:the colour
Return type:str or None
cleanmymac.colors.set_pretty_print(value)[source]

toggle pretty printing of messages (with colors)

Parameters:value (bool) – enable / disable pretty printing mode