class_docstr: Remove exp in queue.
class_docstr_tok: ["Remove","exp","in","queue","."]
code: def run(self):
      self.check_arguments()
  
      if self.args.all:
          self.args.queued = True
          self.args.failed = True
          self.args.success = True
  
      if self.args.queued or self.args.failed or self.args.success:
          removed_list = self.repo.experiments.celery_queue.clear(
              success=self.args.success,
              queued=self.args.queued,
              failed=self.args.failed,
          )
      else:
          removed_list = self.repo.experiments.celery_queue.remove(
              revs=self.args.task,
          )
  
      if removed_list:
          removed = ", ".join(removed_list)
          ui.write(f"Removed tasks in queue: {removed}")
      else:
          ui.write(f"No tasks found named {self.args.task}")
  
      return 0
  
file_path: dvc/dvc/commands/queue/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 CmdQueueRemove obj's underlying member method code with example usage: obj.run() and returns: int