def icetea_main():
    """
    Main function for running Icetea. Calls sys.exit with the return code to exit.

    :return: Nothing.
    """
    from icetea_lib import IceteaManager
    manager = IceteaManager.IceteaManager()
    return_code = manager.run()
    sys.exit(return_code)