from __future__ import print_function

import colorama
import cmd
import glob
import os
import pkg_resources
import sys

import r12


HELP_DIR_NAME = 'help'
PYTHON_VERSION = '.'.join([str(x) for x in sys.version_info[:3]])
R12_VERSION = pkg_resources.require('r12')[0].version


class ShellStyle(object):
    ''' Styling for a command shell. '''
    BRIGHT = colorama.Style.BRIGHT
    RESET = colorama.Style.RESET_ALL


    def __init__(self, theme_color, success_color=colorama.Fore.GREEN,
                                    warn_color=colorama.Fore.YELLOW,
                                    error_color=colorama.Fore.RED):
        self.theme_color = theme_color
        self.success_color = success_color
        self.warn_color = warn_color