{
  "id": "eleventy",
  "name": "Eleventy",
  "homepage": "https://www.11ty.dev",
  "description": "A simpler static site generator.",
  "executables": [
    "eleventy"
  ],
  "commands": {
    "format": 1,
    "label": "Build site",
    "description": "Build or serve an Eleventy site. Only flags present in the completion data are offered.",
    "quality": "ai-draft",
    "base": "fig:eleventy",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/eleventy.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "input",
        "label": "Input folder or file",
        "type": "path",
        "path": {
          "kind": "any",
          "role": "input"
        },
        "option": [
          "--input"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "output",
        "label": "Output folder",
        "type": "path",
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "option": [
          "--output"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "serve",
        "label": "Serve with live reload",
        "type": "boolean",
        "option": [
          "--serve"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "port",
        "label": "Port",
        "type": "integer",
        "option": [
          "--port"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "watch",
        "label": "Watch for changes",
        "type": "boolean",
        "option": [
          "--watch"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "dryrun",
        "label": "Dry run",
        "description": "Do not write any files.",
        "type": "boolean",
        "option": [
          "--dryrun"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "--quiet"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "formats",
        "label": "Template formats",
        "description": "Comma-separated template types to allow.",
        "type": "string",
        "option": [
          "--formats"
        ],
        "suggestions": [
          {
            "value": "md",
            "label": "md"
          },
          {
            "value": "html",
            "label": "html"
          },
          {
            "value": "ejs",
            "label": "ejs"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": true
        },
        "option": [
          "--config"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "pathprefix",
        "label": "Path prefix",
        "type": "string",
        "option": [
          "--pathprefix"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "build",
        "label": "Build site",
        "fields": [
          "input",
          "output"
        ],
        "required": []
      },
      {
        "id": "serve",
        "label": "Serve locally",
        "fields": [
          "input",
          "port"
        ],
        "required": [],
        "set": {
          "serve": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "input",
          "output",
          "serve",
          "port",
          "watch"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "dryrun",
          "quiet",
          "formats",
          "config",
          "pathprefix"
        ]
      }
    ]
  }
}
