[core] Re-enable preliminary module loading (stubbed)

Add logic for parsing commandline options, and a preliminary stub for
loading modules.

Note: The idea is that core.module.load() will return a valid, but
empty, module that displays an error, if the module cannot be loaded
This commit is contained in:
Tobias Witek 2020-01-19 15:36:52 +01:00
parent f234f81aa9
commit 8622673114
7 changed files with 68 additions and 6 deletions

0
modules/__init__.py Normal file
View file

14
modules/test.py Normal file
View file

@ -0,0 +1,14 @@
# pylint: disable=C0111,R0903
"""Test module
"""
import bumblebee.engine
class Module(bumblebee.engine.Module):
def __init__(self, engine, config):
super(Module, self).__init__(engine, config,
bumblebee.output.Widget(full_text="test")
)
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4