{
  "id": "livekit",
  "name": "LiveKit CLI",
  "homepage": "https://github.com/livekit/livekit-cli",
  "description": "Command line interface to LiveKit.",
  "executables": [
    "lk"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [],
    "secret": [
      "~/.livekit/cli-config.yaml"
    ]
  },
  "commands": {
    "format": 1,
    "label": "LiveKit CLI",
    "description": "Common LiveKit CLI jobs: join a room and scaffold an app from a template. Only options shown in the official README are included.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "room",
          "join"
        ],
        "label": "Join a room",
        "source": [
          {
            "id": "readme",
            "kind": "manual",
            "url": "https://raw.githubusercontent.com/livekit/livekit-cli/main/README.md",
            "revision": "2026-10-27",
            "evidence": "lk room join --identity publisher --attribute key1=value1 --attribute key2=value2 <room_name>\nlk room join --identity publisher --attribute-file attributes.json <room_name>\n"
          }
        ],
        "field": [
          {
            "id": "room",
            "label": "Room name",
            "type": "string",
            "position": 0,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "identity",
            "label": "Identity",
            "type": "string",
            "option": [
              "--identity"
            ],
            "sources": [
              "readme"
            ]
          },
          {
            "id": "attribute",
            "label": "Attribute (key=value)",
            "type": "string",
            "option": [
              "--attribute"
            ],
            "multiple": true,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "attribute_file",
            "label": "Attributes JSON file",
            "type": "path",
            "option": [
              "--attribute-file"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "join",
            "label": "Join room",
            "fields": [
              "room",
              "identity",
              "attribute"
            ],
            "required": [
              "room",
              "identity"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "room",
              "identity",
              "attribute",
              "attribute_file"
            ]
          }
        ]
      },
      {
        "path": [
          "app",
          "create"
        ],
        "label": "Create an app from a template",
        "source": [
          {
            "id": "readme",
            "kind": "manual",
            "url": "https://raw.githubusercontent.com/livekit/livekit-cli/main/README.md",
            "revision": "2026-10-27",
            "evidence": "lk app create --template <template_name> my-app\n"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "App directory name",
            "type": "string",
            "position": 0,
            "sources": [
              "readme"
            ]
          },
          {
            "id": "template",
            "label": "Template",
            "type": "string",
            "option": [
              "--template"
            ],
            "sources": [
              "readme"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create app",
            "fields": [
              "name",
              "template"
            ],
            "required": [
              "name",
              "template"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "template"
            ]
          }
        ]
      }
    ]
  }
}
