{
  "description": "Open the dblab TUI against a database by host and credentials or by URL. SSH tunnel, SSL and config-file options are left out; the password is typed into the command, so prefer a URL or config file for real secrets.",
  "options": [
    {
      "names": [
        "--driver"
      ],
      "description": "Driver",
      "args": {
        "name": "driver",
        "isOptional": false,
        "suggestions": [
          {
            "name": "postgres",
            "description": "PostgreSQL"
          },
          {
            "name": "mysql",
            "description": "MySQL"
          },
          {
            "name": "sqlite",
            "description": "SQLite"
          }
        ]
      }
    },
    {
      "names": [
        "--host"
      ],
      "description": "Host",
      "args": {
        "name": "host",
        "isOptional": false
      }
    },
    {
      "names": [
        "--port"
      ],
      "description": "Port",
      "args": {
        "name": "port",
        "isOptional": false
      }
    },
    {
      "names": [
        "--user"
      ],
      "description": "User",
      "args": {
        "name": "user",
        "isOptional": false
      }
    },
    {
      "names": [
        "--pass"
      ],
      "description": "Visible in shell history and process list.",
      "args": {
        "name": "pass",
        "description": "Visible in shell history and process list.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--db"
      ],
      "description": "Database name",
      "args": {
        "name": "db",
        "isOptional": false
      }
    },
    {
      "names": [
        "--schema"
      ],
      "description": "Optional, postgres and oracle only.",
      "args": {
        "name": "schema",
        "description": "Optional, postgres and oracle only.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--url",
        "-u"
      ],
      "description": "Connection URL",
      "args": {
        "name": "url",
        "isOptional": false
      }
    },
    {
      "names": [
        "--socket"
      ],
      "description": "Unix socket",
      "args": {
        "name": "socket",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--readonly"
      ],
      "description": "Read-only connection"
    },
    {
      "names": [
        "--limit"
      ],
      "description": "Rows fetched for table content; default 100.",
      "args": {
        "name": "limit",
        "description": "Rows fetched for table content; default 100.",
        "isOptional": false
      }
    },
    {
      "names": [
        "--config"
      ],
      "description": "Use config file"
    }
  ],
  "name": "dblab"
}
