Exemplo n.º 1
0
    def __init__(self):
        CoreEvent.__init__(self)

        # Parser which reads the command line
        self._mop = None
        # Store the options parsed
        self._options = None
        # Store the configuration parsed
        self._conf = None
        # Store the arguments parsed
        self._args = None
        # Store executed actions
        self.actions = []
        # Displayer
        self._console = ConsoleDisplay()
        # Store interactive mode
        self.interactive = Terminal.isinteractive()

        self._logger = ConfigParser.install_logger()

        call_back_self().attach(self)
        self.inter_thread = InteractiveThread(self._console)