linux-tools/main.py
Marcel Schwarz 6061a7d224 Change from dynamic to explicit module loading
dynamic loading was removed to have an overall better flow control,
Remove Abstract Module, 
clear out module __init__.py
2020-03-06 02:34:57 +01:00

18 lines
443 B
Python

import fire
from modules.helloworld.HelloWorld import HelloWorld
from modules.install.ToolsInstaller import ToolsInstaller
from modules.swap.SwapModule import SwapModule
from modules.systemupdate.Systemupdate import Systemupdate
from modules.vim.VimModule import VimModule
modules = {
"helloworld": HelloWorld,
"install": ToolsInstaller,
"swap": SwapModule,
"update": Systemupdate,
"vim": VimModule
}
fire.Fire(modules)