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