""" This file is part of Linspector (https://linspector.org/) Copyright (c) 2022 Johannes Findeisen . All Rights Reserved. See LICENSE.txt (MIT license). """ # TODO: This plugin should become the internal Lish implemented as a plugin which does not use the # API plugin but loads at the end when starting Linspector in interactive mode as a terminal like # interface to the core of Linspector. from linspector.core.plugin import Plugin def create(configuration, environment, linspector, log): return LishPlugin(configuration, environment, linspector, log) # TODO: check for all required configuration options and set defaults if needed. class LishPlugin(Plugin): def __init__(self, configuration, environment, linspector, log): super().__init__(configuration, environment, linspector, log) self.__configuration = configuration self.__environment = environment self.__linspector = linspector self.__log = log def run(self): return