{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "generate-readme",
            "type": "shell",
            "command": "node",
            "args": [".github/scripts/update-readme.js"],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared"
            },
            "problemMatcher": [],
            "detail": "Generate README.md for WordPress plugin"
        },
        {
            "label": "validate-collections",
            "type": "shell",
            "command": "node",
            "args": [
                ".github/scripts/validate-collections.js",
                "${input:collectionId}"
            ],
            "group": "test",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared"
            },
            "problemMatcher": [],
            "detail": "Validate plugin collections and structure"
        },
        {
            "label": "create-collection",
            "type": "shell",
            "command": "node",
            "args": [
                ".github/scripts/create-collection.js",
                "create",
                "${input:collectionId}"
            ],
            "group": "build",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared"
            },
            "problemMatcher": [],
            "detail": "Create a new WordPress plugin collection"
        },
        {
            "label": "list-collections",
            "type": "shell",
            "command": "node",
            "args": [
                ".github/scripts/create-collection.js",
                "list"
            ],
            "group": "build",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": false,
                "panel": "shared"
            },
            "problemMatcher": [],
            "detail": "List all available collections"
        }
    ],
    "inputs": [
        {
            "id": "collectionId",
            "description": "Collection ID (lowercase, hyphens allowed)",
            "default": "",
            "type": "promptString"
        }
    ]
}
