{
  "id": "weaviate-cli",
  "name": "Weaviate CLI",
  "homepage": "https://github.com/weaviate/weaviate-cli",
  "description": "A powerful command-line interface for managing and interacting with Weaviate vector databases directly from your terminal.",
  "executables": [
    "weaviate-cli"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.config/weaviate/config.json"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Weaviate CLI",
    "description": "Create a collection or query data with weaviate-cli. Only the options shown in the project README are covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "readme",
        "kind": "help",
        "url": "https://github.com/weaviate/weaviate-cli/blob/main/README.md",
        "revision": "2026-10-27",
        "evidence": "weaviate-cli create collection --collection movies --vectorizer transformers\nweaviate-cli query data --collection movies --search-type hybrid --query \"action movies\"\nweaviate-cli --config-file /path/to/your/config.json\nweaviate-cli --user user1 create collection --collection movies --vectorizer transformers\n"
      }
    ],
    "field": [
      {
        "id": "config_file",
        "label": "Config file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "--config-file"
        ],
        "sources": [
          "readme"
        ]
      },
      {
        "id": "user",
        "label": "User",
        "description": "User name defined in the config file.",
        "type": "string",
        "option": [
          "--user"
        ],
        "sources": [
          "readme"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "config_file",
          "user"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "create",
          "collection"
        ],
        "label": "Create a collection",
        "source": [
          {
            "id": "readme",
            "kind": "help",
            "url": "https://github.com/weaviate/weaviate-cli/blob/main/README.md",
            "revision": "2026-10-27",
            "evidence": "weaviate-cli create collection --collection movies --vectorizer transformers\n"
          }
        ],
        "field": [
          {
            "id": "collection",
            "label": "Collection name",
            "type": "string",
            "option": [
              "--collection"
            ],
            "sources": [
              "readme"
            ]
          },
          {
            "id": "vectorizer",
            "label": "Vectorizer",
            "type": "string",
            "option": [
              "--vectorizer"
            ],
            "suggestions": [
              {
                "value": "transformers",
                "label": "transformers"
              }
            ],
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create collection",
            "fields": [
              "collection",
              "vectorizer"
            ],
            "required": [
              "collection"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "collection",
              "vectorizer"
            ]
          }
        ]
      },
      {
        "path": [
          "query",
          "data"
        ],
        "label": "Query data",
        "source": [
          {
            "id": "readme",
            "kind": "help",
            "url": "https://github.com/weaviate/weaviate-cli/blob/main/README.md",
            "revision": "2026-10-27",
            "evidence": "weaviate-cli query data --collection movies --search-type hybrid --query \"action movies\"\n"
          }
        ],
        "field": [
          {
            "id": "collection",
            "label": "Collection name",
            "type": "string",
            "option": [
              "--collection"
            ],
            "sources": [
              "readme"
            ]
          },
          {
            "id": "search_type",
            "label": "Search type",
            "type": "string",
            "option": [
              "--search-type"
            ],
            "suggestions": [
              {
                "value": "hybrid",
                "label": "hybrid"
              }
            ],
            "sources": [
              "readme"
            ]
          },
          {
            "id": "query",
            "label": "Query",
            "type": "string",
            "option": [
              "--query"
            ],
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "search",
            "label": "Search a collection",
            "fields": [
              "collection",
              "search_type",
              "query"
            ],
            "required": [
              "collection",
              "query"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "collection",
              "search_type",
              "query"
            ]
          }
        ]
      }
    ]
  }
}
