implement plugin autoload

This commit is contained in:
chrys
2016-07-09 02:48:22 +02:00
parent 5478900288
commit 70ba9a7a66
3 changed files with 22 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ class fenrir():
self.environment = environment.environment
self.environment['runtime']['inputManager'] = inputManager.inputManager()
self.environment['runtime']['commandManager'] = commandManager.commandManager()
self.environment = self.environment['runtime']['commandManager'].loadCommands(self.environment)
self.environment['runtime']['debug'] = debug.debug()
signal.signal(signal.SIGINT, self.captureSignal)