{
  "schemaVersion": 2,
  "id": "local.example.line-tools",
  "name": "Line Tools",
  "version": "1.0.0",
  "description": "A safe starting point for a Lima form extension",
  "commands": [
    {
      "id": "count-words",
      "title": "Count Words",
      "subtitle": "Count words in a file you choose",
      "keywords": ["word", "count", "file"],
      "icon": "text.word.spacing",
      "action": {
        "type": "form",
        "value": "",
        "form": {
          "title": "Count Words",
          "submitLabel": "Count",
          "fields": [
            {"id": "file", "label": "File", "type": "file", "required": true, "section": "Input"}
          ],
          "execution": {"type": "shell", "executable": "/usr/bin/wc", "arguments": ["-w", "{{file}}"], "timeoutSeconds": 30}
        }
      }
    }
  ]
}
