def METHOD_NAME(args) -> int:
    # Only now import the UI module
    import gaphor.ui
    # Recreate a command line for our GTK gui
    run_argv = [sys.argv[0]]
    if args.self_test:
        run_argv += ["--self-test"]
    if args.gapplication_service:
        run_argv += ["--gapplication-service"]
    run_argv.extend(args.model)
    return gaphor.ui.METHOD_NAME(run_argv)