{
  "id": "stencil",
  "name": "Stencil",
  "description": "CLI to build Stencil projects and generate components.",
  "homepage": "https://stenciljs.com",
  "executables": [
    "stencil"
  ],
  "commands": {
    "format": 1,
    "label": "Stencil",
    "description": "Build projects and scaffold components.",
    "quality": "ai-draft",
    "base": "fig:stencil",
    "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/stencil.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "build"
        ],
        "label": "Build components",
        "description": "Build for development or production.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/stencil.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "prod",
            "label": "Production build",
            "type": "boolean",
            "option": [
              "--prod"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dev",
            "label": "Development build",
            "type": "boolean",
            "option": [
              "--dev"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "watch",
            "label": "Watch for changes",
            "type": "boolean",
            "option": [
              "--watch"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "serve",
            "label": "Start dev server",
            "type": "boolean",
            "option": [
              "--serve"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "docs",
            "label": "Generate readme docs",
            "type": "boolean",
            "option": [
              "--docs-readme"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "ci",
            "label": "CI settings",
            "type": "boolean",
            "option": [
              "--ci"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "es5",
            "label": "ES5 build",
            "type": "boolean",
            "option": [
              "--es5"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_open",
            "label": "Do not open browser",
            "type": "boolean",
            "option": [
              "--no-open"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "port",
            "label": "Dev server port",
            "type": "integer",
            "option": [
              "--port"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Config file",
            "type": "path",
            "option": [
              "--config",
              "-c"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_cache",
            "label": "Disable cache",
            "type": "boolean",
            "option": [
              "--no-cache"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "prod",
            "label": "Production build",
            "fields": [
              "prod",
              "docs",
              "config"
            ],
            "required": [],
            "set": {
              "prod": [
                true
              ]
            }
          },
          {
            "id": "dev",
            "label": "Dev server",
            "fields": [
              "dev",
              "watch",
              "serve",
              "port",
              "no_open"
            ],
            "required": [],
            "set": {
              "dev": [
                true
              ],
              "watch": [
                true
              ],
              "serve": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "prod",
              "dev",
              "watch",
              "serve",
              "docs",
              "port",
              "config"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "ci",
              "es5",
              "no_open",
              "no_cache",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "generate"
        ],
        "label": "Generate component",
        "description": "Bootstrap a new component.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/stencil.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Component name",
            "description": "Must contain a dash, e.g. my-component.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "gen",
            "label": "Generate",
            "fields": [
              "name"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name"
            ]
          }
        ]
      }
    ]
  }
}
