def main(): """ Main function to carry out the work. """ options = parseOptions() marvin.setConfig(options) actions = marvin_actions.getAllActions() marvin.registerActions(actions) marvin.connectToServer() marvin.mainLoop() sys.exit(0)