def METHOD_NAME() -> None:
    parser = argparse.ArgumentParser(
        description="Sends targets to a remote agent.",
        parents=[ivre.target.ARGPARSER],
    )
    parser.add_argument(
        "--category",
        metavar="CAT",
        default="MISC",
        help="tag scan results with this category",
    )
    parser.add_argument(
        "--max-waiting",
        metavar="TIME",
        type=int,
        default=60,
        help="maximum targets waiting",
    )
    parser.add_argument(
        "--sync",
        dest="action",
        action="store_const",
        const=ACTION_SYNC,
        default=ACTION_BOTH,
    )
    parser.add_argument(
        "--dont-store-down",
        dest="storedown",
        action="store_const",
        const=False,
        default=True,
    )
    parser.add_argument(
        "--feed", dest="action", action="store_const", const=ACTION_FEED
    )
    parser.add_argument(
        "agents", metavar="AGENT", nargs="+", help="agents to use (rsync address)"
    )
    args = parser.parse_args()
    if args.categories is None:
        args.categories = [args.category]
    elif args.category not in args.categories:
        args.categories.append(args.category)
    agents = [
        ivre.scanengine.Agent.from_string(
            a, localbase=MAINDIR, maxwaiting=args.max_waiting
        )
        for a in args.agents
    ]
    for a in agents:
        a.create_local_dirs()
    if args.action == ACTION_SYNC:
        camp = ivre.scanengine.Campaign(
            [],
            args.category,
            agents,
            os.path.join(MAINDIR, "output"),
            visiblecategory="MISC",
            storedown=args.storedown,
        )
        ivre.scanengine.syncloop(agents)
    elif args.action in [ACTION_FEED, ACTION_BOTH]:
        if args.action == ACTION_BOTH:
            argv = (
                shlex.split(sys.argv[0]) + sys.argv[1:]
                if sys.argv and sys.argv[0].startswith("ivre ")
                else sys.argv
            )
            # we make sure we're in screen
            if os.environ.get("TERM") != "screen":
                subprocess.call(["screen"] + argv)
                sys.exit(0)
            # we run the sync process in another screen window
            subprocess.call(["screen"] + argv + ["--sync"])
        targets = ivre.target.target_from_args(args)
        if targets is None:
            parser.error(
                "one argument of --country/--asnum/--range/--network/"
                "--routable/--file/--test is required"
            )
        camp = ivre.scanengine.Campaign(
            targets,
            args.category,
            agents,
            os.path.join(MAINDIR, "output"),
            visiblecategory="MISC",
        )
        try:
            camp.feedloop()
        except KeyboardInterrupt:
            ivre.utils.LOGGER.info("Interrupted by user: stop feeding.")
            ivre.utils.LOGGER.info(
                'Use "--state %s" to resume.',
                " ".join(str(elt) for elt in camp.targiter.getstate()),
            )
        except Exception:
            ivre.utils.LOGGER.critical("Exception", exc_info=True)
            ivre.utils.LOGGER.info(
                'Use "--state %s" to resume.',
                " ".join(str(elt) for elt in camp.targiter.getstate()),
            )
        else:
            ivre.utils.LOGGER.info("No target left to scan.")
            if os.environ.get("TERM") != "screen":
                ivre.utils.LOGGER.info("Press enter to exit.")
                try:
                    input()
                except (EOFError, IOError):
                    pass