linux-tools/main.py

24 lines
691 B
Python
Raw Normal View History

import fire
2019-12-14 04:11:32 +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
2019-12-14 04:11:32 +01:00
modules = {
"helloworld": HelloWorld().run,
"install": ToolsInstaller,
"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,
"fail2ban": fail2ban.run()
}
2019-12-14 04:11:32 +01:00
fire.Fire(modules)