a58610f3ee
Add a class that will hold all configuration and argument information and serve as central repository for this kind of information.
19 lines
359 B
Python
Executable file
19 lines
359 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import sys
|
|
import bumblebee.config
|
|
import bumblebee.engine
|
|
|
|
def main():
|
|
config = bumblebee.config.Config(sys.argv[1:])
|
|
|
|
engine = bumblebee.engine.Engine(config)
|
|
engine.load_modules()
|
|
engine.register_events()
|
|
|
|
engine.run()
|
|
|
|
if __name__ == "__main__":
|
|
main()
|
|
|
|
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|