2020-01-18 05:39:23 +01:00
|
|
|
import fire
|
2019-12-14 04:11:32 +01:00
|
|
|
|
2020-03-06 02:34:57 +01:00
|
|
|
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
|
2020-03-21 22:29:07 +01:00
|
|
|
from modules.teamspeak.Teamspeak import Teamspeak
|
2020-03-21 23:49:29 +01:00
|
|
|
from modules.hacker.Hacker import Hacker
|
2020-08-01 00:32:41 +02:00
|
|
|
import modules.fail2ban.Fail2BanModule as fail2ban
|
2020-07-25 04:50:30 +02:00
|
|
|
from modules.bashrc.BashrcModule import BashrcModule
|
2019-12-14 04:11:32 +01:00
|
|
|
|
2020-03-06 02:34:57 +01:00
|
|
|
modules = {
|
2020-03-06 03:05:30 +01:00
|
|
|
"helloworld": HelloWorld().run,
|
2020-03-06 02:34:57 +01:00
|
|
|
"install": ToolsInstaller,
|
2020-03-06 03:05:30 +01:00
|
|
|
"swap": SwapModule().run,
|
|
|
|
"update": Systemupdate().run,
|
2020-03-21 22:29:07 +01:00
|
|
|
"vim": VimModule().run,
|
2020-03-21 23:49:29 +01:00
|
|
|
"teamspeak": Teamspeak,
|
2020-08-01 00:32:41 +02:00
|
|
|
"hacker": Hacker,
|
2020-07-25 04:50:30 +02:00
|
|
|
"fail2ban": fail2ban.run(),
|
|
|
|
"bashrc": BashrcModule().run
|
2020-03-06 02:34:57 +01:00
|
|
|
}
|
2019-12-14 04:11:32 +01:00
|
|
|
|
2020-01-18 05:39:23 +01:00
|
|
|
fire.Fire(modules)
|