{
  "id": "kill",
  "name": "kill",
  "description": "Send a signal to processes.",
  "executables": [
    "kill"
  ],
  "commands": {
    "format": 1,
    "label": "Signal processes",
    "description": "Send a signal (default TERM) to one or more process IDs. Listing signal names (-l) is left out.",
    "quality": "ai-draft",
    "base": "fig:kill",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "src",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/kill.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "pids",
        "label": "Process IDs",
        "type": "integer",
        "position": 0,
        "multiple": true,
        "sources": [
          "src"
        ]
      },
      {
        "id": "signal",
        "label": "Signal",
        "description": "Symbolic signal name to send; default is TERM.",
        "type": "string",
        "option": [
          "-s"
        ],
        "suggestions": [
          {
            "value": "TERM",
            "label": "TERM"
          },
          {
            "value": "HUP",
            "label": "HUP"
          },
          {
            "value": "INT",
            "label": "INT"
          },
          {
            "value": "KILL",
            "label": "KILL"
          },
          {
            "value": "STOP",
            "label": "STOP"
          },
          {
            "value": "CONT",
            "label": "CONT"
          },
          {
            "value": "USR1",
            "label": "USR1"
          }
        ],
        "sources": [
          "src"
        ]
      }
    ],
    "task": [
      {
        "id": "terminate",
        "label": "Terminate",
        "fields": [
          "pids"
        ],
        "required": [
          "pids"
        ]
      },
      {
        "id": "kill_hard",
        "label": "Force kill",
        "fields": [
          "pids",
          "signal"
        ],
        "required": [
          "pids"
        ],
        "set": {
          "signal": [
            "KILL"
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "pids",
          "signal"
        ]
      }
    ]
  }
}
