def main() -> None:
    component = os.environ.get('OPENSLIDES_BACKEND_COMPONENT', 'all')
    if (component == 'action'):
        start_action_server()
    elif (component == 'presenter'):
        start_presenter_server()
    elif (component == 'all'):
        start_them_all()
    else:
        print(f'Error: OPENSLIDES_BACKEND_COMPONENT must not be {component}.', file=sys.stderr)
        sys.stderr.flush()
        sys.exit(1)
    sys.exit(0)
def main() -> None:
    component = os.environ.get('OPENSLIDES_BACKEND_COMPONENT', 'all')
    if (component == 'action'):
        start_action_server()
    elif (component == 'presenter'):
        start_presenter_server()
    elif (component == 'all'):
        start_them_all()
    else:
        print(f'Error: OPENSLIDES_BACKEND_COMPONENT must not be {component}.', file=sys.stderr)
        sys.stderr.flush()
        sys.exit(1)
    sys.exit(0)