code: def run(self):
      from dvc.utils import humanize
  
      self.check_arguments()
  
      removed = self.repo.experiments.remove(
          exp_names=self.args.experiment,
          all_commits=self.args.all_commits,
          rev=self.args.rev,
          num=self.args.num,
          queue=self.args.queue,
          git_remote=self.args.git_remote,
      )
      if removed:
          ui.write(
              f"Removed experiments: {humanize.join(map(repr, removed))}"
          )
      else:
          ui.write("No experiments to remove.")
  
      return 0
  
file_path: dvc/dvc/commands/experiments/remove.py
imports: from dvc.cli import formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
  from dvc.ui import ui
label_desc: Use image node_id 2 for calling the CmdExperimentsRemove obj's underlying member method code with example usage: obj.run() and returns: int