{
  "description": "Run an Expect (Tcl) script that talks to interactive programs, or execute inline commands. The debugger, buffered reading and rc-file suppression flags are left out.",
  "options": [
    {
      "names": [
        "-c"
      ],
      "description": "Tcl command run before the script. Quote it for the shell.",
      "args": {
        "name": "cmd",
        "description": "Tcl command run before the script. Quote it for the shell.",
        "isOptional": false,
        "isVariadic": true
      },
      "isRepeatable": true
    },
    {
      "names": [
        "-d"
      ],
      "description": "Diagnostic output"
    },
    {
      "names": [
        "-i"
      ],
      "description": "Interactive prompt"
    },
    {
      "names": [
        "-v"
      ],
      "description": "Print version"
    }
  ],
  "args": [
    {
      "name": "script",
      "description": "Expect script to run. Leave empty with a command or interactive mode.",
      "isOptional": true,
      "template": "filepaths"
    },
    {
      "name": "args",
      "description": "Passed to the script in the argv variable.",
      "isOptional": true,
      "isVariadic": true
    }
  ],
  "name": "expect"
}
