{
  "description": "Inspect a data source's metadata and schema. Queries, source management and other sq subcommands are left out.",
  "name": "sq",
  "subcommands": [
    {
      "name": "inspect",
      "description": "Show metadata, tables and columns for a source (@handle) or a table (@handle.table). Omit the target to use the active source.",
      "options": [
        {
          "names": [
            "--json",
            "-j"
          ],
          "description": "JSON output"
        },
        {
          "names": [
            "--yaml",
            "-y"
          ],
          "description": "YAML output"
        },
        {
          "names": [
            "--markdown"
          ],
          "description": "Markdown schema document"
        },
        {
          "names": [
            "--html"
          ],
          "description": "HTML schema document"
        },
        {
          "names": [
            "--overview",
            "-O"
          ],
          "description": "Metadata only"
        },
        {
          "names": [
            "--schemata",
            "-S"
          ],
          "description": "List schemas"
        },
        {
          "names": [
            "--catalogs",
            "-C"
          ],
          "description": "List catalogs"
        },
        {
          "names": [
            "--verbose",
            "-v"
          ],
          "description": "Verbose"
        },
        {
          "names": [
            "--output",
            "-o"
          ],
          "description": "Output file",
          "args": {
            "name": "output",
            "isOptional": false,
            "template": "filepaths"
          },
          "isDangerous": true
        }
      ],
      "args": [
        {
          "name": "target",
          "description": "@handle, @handle.table or .table; leave empty for the active source.",
          "isOptional": true
        }
      ]
    }
  ]
}
