def METHOD_NAME():
    args = parse_cli()
    setup_environment(args)
    trond = trondaemon.TronDaemon(args)  # noqa: F841
    trond.mcp = tron.mcp.MasterControlProgram(trond.options.working_dir, trond.options.config_path,)
    trond.mcp._load_config()
    # trond.mcp.restore_state(trond.mcp.config.load().get_master().action_runner)
    # mcp = trond.mcp  # noqa: F841
    # store = mcp.state_watcher.state_manager._impl  # noqa: F841
    print("")
    print("+---------------------+")
    print("| Tron REPL           |")
    print("|   Available locals: |")
    print("|   - trond           |")
    print("+---------------------+")
    print("")
    IPython.embed()