def METHOD_NAME(self) -> None:
    self.cmd_opts.add_option(cmdoptions.constraints())
    self.cmd_opts.add_option(cmdoptions.requirements())
    self.cmd_opts.add_option(cmdoptions.no_deps())
    self.cmd_opts.add_option(cmdoptions.global_options())
    self.cmd_opts.add_option(cmdoptions.no_binary())
    self.cmd_opts.add_option(cmdoptions.only_binary())
    self.cmd_opts.add_option(cmdoptions.prefer_binary())
    self.cmd_opts.add_option(cmdoptions.src())
    self.cmd_opts.add_option(cmdoptions.pre())
    self.cmd_opts.add_option(cmdoptions.require_hashes())
    self.cmd_opts.add_option(cmdoptions.progress_bar())
    self.cmd_opts.add_option(cmdoptions.no_build_isolation())
    self.cmd_opts.add_option(cmdoptions.use_pep517())
    self.cmd_opts.add_option(cmdoptions.no_use_pep517())
    self.cmd_opts.add_option(cmdoptions.check_build_deps())
    self.cmd_opts.add_option(cmdoptions.ignore_requires_python())
    self.cmd_opts.add_option(
        "-d",
        "--dest",
        "--destination-dir",
        "--destination-directory",
        dest="download_dir",
        metavar="dir",
        default=os.curdir,
        help="Download packages into <dir>.",
    )
    cmdoptions.add_target_python_options(self.cmd_opts)
    index_opts = cmdoptions.make_option_group(
        cmdoptions.index_group,
        self.parser,
    )
    self.parser.insert_option_group(0, index_opts)
    self.parser.insert_option_group(0, self.cmd_opts)