{
  "clide": 1,
  "name": "Gather text files",
  "description": "The words of the text files in a folder that changed in the last few days, one after another, each under its name. Changes nothing.",
  "tags": ["files", "text", "starter"],
  "input": [
    { "id": "folder", "type": "folder", "label": "Folder", "required": true },
    { "id": "days", "type": "number", "label": "Days back", "default": 7, "min": 1, "max": 365 }
  ],
  "sentence": "Gather the text files in {{folder}} changed in the last {{days}} days",
  "run": {
    "command": "bun",
    "args": ["./gather-text-files.ts", "--days", "{{days}}", "{{folder}}"],
    "timeoutSeconds": 300
  },
  "output": [{ "id": "words", "type": "text", "label": "Words", "from": "stdout" }]
}
