code: def add_parser(queue_subparsers, parent_parser):
      QUEUE_KILL_HELP = "Gracefully interrupt running experiment queue tasks (equivalent to Ctrl-C)"
      queue_kill_parser = queue_subparsers.add_parser(
          "kill",
          parents=[parent_parser],
          description=append_doc_link(QUEUE_KILL_HELP, "queue/kill"),
          help=QUEUE_KILL_HELP,
          formatter_class=formatter.RawDescriptionHelpFormatter,
      )
      queue_kill_parser.add_argument(
          "-f",
          "--force",
          action="store_true",
          default=False,
          help="Forcefully and immediately kill running experiment queue tasks",
      )
      queue_kill_parser.add_argument(
          "task",
          nargs="*",
          help="Tasks in queue to kill.",
          metavar="<task>",
      )
      queue_kill_parser.set_defaults(func=CmdQueueKill)
  
file_path: dvc/dvc/commands/queue/kill.py
imports: from dvc.cli import formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.log import logger
label_desc: Use image node_id 1 for calling a global function with example usage: add_parser(queue_subparsers, parent_parser) without return types