{
  "name": "kill",
  "description": "Terminate or signal a process",
  "options": [
    {
      "names": [
        "-s"
      ],
      "description": "A symbolic signal name specifying the signal to be sent",
      "args": [
        {
          "name": "signal_name",
          "generators": [
            {
              "script": [
                "env",
                "kill",
                "-l"
              ]
            }
          ]
        }
      ]
    },
    {
      "names": [
        "-l"
      ],
      "description": "If no operand is given, list the signal names; otherwise, write the signal name corresponding to exit_status",
      "args": [
        {
          "name": "exit_status",
          "isOptional": true
        }
      ]
    }
  ],
  "args": [
    {
      "name": "pid",
      "isVariadic": true,
      "generators": [
        {
          "script": [
            "bash",
            "-c",
            "ps axo pid,comm | sed 1d"
          ]
        }
      ]
    }
  ]
}
