linux-tools/main.py
Marcel Schwarz e633965a1a Remove classes from easy modules
* bashrc
* hacker
* helloworld
* installer
* update
* teamspeak
2020-08-02 00:55:48 +02:00

26 lines
691 B
Python

import fire
import modules.bashrc as bashrc
import modules.fail2ban as fail2ban
import modules.hacker as hacker
import modules.helloworld as helloworld
import modules.install as install
import modules.systemupdate as update
import modules.teamspeak as teamspeak
from modules.swap.SwapModule import SwapModule
from modules.vim.VimModule import VimModule
modules = {
"bashrc": bashrc.functions,
"fail2ban": fail2ban.functions,
"hacker": hacker.functions,
"helloworld": helloworld.functions,
"install": install.functions,
"swap": SwapModule().run,
"update": update.functions,
"teamspeak": teamspeak.functions,
"vim": VimModule().run,
}
fire.Fire(modules)