Refactoring, fixes and really a lot of new ideas...
This commit is contained in:
parent
23f52504e2
commit
e4ffdedb56
46 changed files with 191 additions and 763 deletions
26
linspector/services/sys/shell.py
Normal file
26
linspector/services/sys/shell.py
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
"""
|
||||
This file is part of Linspector (https://linspector.org/)
|
||||
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
||||
See LICENSE (MIT license)
|
||||
"""
|
||||
from logging import getLogger
|
||||
|
||||
from linspector.core.service import Service
|
||||
|
||||
logger = getLogger('linspector')
|
||||
|
||||
|
||||
def get(configuration, environment):
|
||||
return ShellService(configuration, environment)
|
||||
|
||||
|
||||
class ShellService(Service):
|
||||
|
||||
def __init__(self, configuration, environment):
|
||||
super().__init__(configuration, environment)
|
||||
self.__configuration = configuration
|
||||
self.__environment = environment
|
||||
|
||||
def execute(self):
|
||||
return
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue