{
  "description": "Open an interactive lftp session to a site, or run a one-shot command string or script file. Passwords are left out because the man page warns against putting them on the command line.",
  "options": [
    {
      "names": [
        "-u"
      ],
      "description": "User name",
      "args": {
        "name": "user",
        "isOptional": false
      }
    },
    {
      "names": [
        "-p"
      ],
      "description": "Port",
      "args": {
        "name": "port",
        "isOptional": false
      }
    },
    {
      "names": [
        "-e"
      ],
      "description": "Commands to run, then stay open",
      "args": {
        "name": "exec_after",
        "isOptional": false
      },
      "isDangerous": true
    },
    {
      "names": [
        "-c"
      ],
      "description": "Semicolon-separated commands. Must be used without a site or other options except --norc.",
      "args": {
        "name": "exec_exit",
        "description": "Semicolon-separated commands. Must be used without a site or other options except --norc.",
        "isOptional": false
      },
      "isDangerous": true
    },
    {
      "names": [
        "-f"
      ],
      "description": "Run the commands in this file and exit. Must be used alone except for --norc.",
      "args": {
        "name": "script",
        "description": "Run the commands in this file and exit. Must be used alone except for --norc.",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "-d"
      ],
      "description": "Debug mode"
    },
    {
      "names": [
        "--norc"
      ],
      "description": "Skip rc files"
    }
  ],
  "args": [
    {
      "name": "site",
      "description": "Host name or URL such as sftp://host/path. Leave empty to start unconnected.",
      "isOptional": true
    }
  ],
  "name": "lftp"
}
