24 lines
691 B
Python
24 lines
691 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
|
|
from modules.teamspeak.Teamspeak import Teamspeak
|
|
from modules.hacker.Hacker import Hacker
|
|
import modules.fail2ban.Fail2BanModule as fail2ban
|
|
|
|
modules = {
|
|
"helloworld": HelloWorld().run,
|
|
"install": ToolsInstaller,
|
|
"swap": SwapModule().run,
|
|
"update": Systemupdate().run,
|
|
"vim": VimModule().run,
|
|
"teamspeak": Teamspeak,
|
|
"hacker": Hacker,
|
|
"fail2ban": fail2ban.run()
|
|
}
|
|
|
|
fire.Fire(modules)
|