{
  "id": "vsce",
  "name": "vsce",
  "homepage": "https://github.com/microsoft/vscode-vsce",
  "description": "VS Code Extension Manager",
  "icon": "theSVG:visual-studio-code",
  "executables": [
    "vsce"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [],
    "secret": [
      "~/.vsce"
    ]
  },
  "commands": {
    "format": 1,
    "label": "vsce",
    "description": "VS Code extension manager. Forms cover package and publish; the access token is deliberately not offered (use VSCE_PAT).",
    "quality": "ai-draft",
    "base": "fig:vsce",
    "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/vsce.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "package"
        ],
        "label": "Package extension",
        "description": "Build a .vsix file.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vsce.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "out",
            "label": "Output .vsix",
            "type": "path",
            "option": [
              "-o",
              "--out"
            ],
            "path": {
              "kind": "file",
              "role": "output"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target platform",
            "type": "string",
            "option": [
              "-t",
              "--target"
            ],
            "multiple": true,
            "suggestions": [
              {
                "value": "win32-x64",
                "label": "win32-x64"
              },
              {
                "value": "win32-arm64",
                "label": "win32-arm64"
              },
              {
                "value": "linux-x64",
                "label": "linux-x64"
              },
              {
                "value": "linux-arm64",
                "label": "linux-arm64"
              },
              {
                "value": "darwin-x64",
                "label": "darwin-x64"
              },
              {
                "value": "darwin-arm64",
                "label": "darwin-arm64"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pre_release",
            "label": "Pre-release",
            "type": "boolean",
            "option": [
              "--pre-release"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_deps",
            "label": "Skip dependency detection",
            "type": "boolean",
            "option": [
              "--no-dependencies"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "yarn",
            "label": "Use yarn",
            "type": "boolean",
            "option": [
              "--yarn"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_yarn",
            "label": "Use npm",
            "type": "boolean",
            "option": [
              "--no-yarn"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "package",
            "label": "Package",
            "fields": [
              "out",
              "target"
            ],
            "required": []
          },
          {
            "id": "prerelease",
            "label": "Pre-release package",
            "set": {
              "pre_release": [
                true
              ]
            },
            "fields": [
              "out",
              "pre_release"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "out",
              "target",
              "pre_release"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "yarn",
              "no_yarn",
              "no_deps"
            ]
          }
        ]
      },
      {
        "path": [
          "publish"
        ],
        "label": "Publish extension",
        "description": "Publish to the Marketplace. Uses VSCE_PAT for authentication.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vsce.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package_path",
            "label": "Publish .vsix",
            "type": "path",
            "option": [
              "-i",
              "--packagePath"
            ],
            "multiple": true,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target platform",
            "type": "string",
            "option": [
              "-t",
              "--target"
            ],
            "multiple": true,
            "suggestions": [
              {
                "value": "win32-x64",
                "label": "win32-x64"
              },
              {
                "value": "win32-arm64",
                "label": "win32-arm64"
              },
              {
                "value": "linux-x64",
                "label": "linux-x64"
              },
              {
                "value": "linux-arm64",
                "label": "linux-arm64"
              },
              {
                "value": "darwin-x64",
                "label": "darwin-x64"
              },
              {
                "value": "darwin-arm64",
                "label": "darwin-arm64"
              }
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pre_release",
            "label": "Pre-release",
            "type": "boolean",
            "option": [
              "--pre-release"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_deps",
            "label": "Skip dependency detection",
            "type": "boolean",
            "option": [
              "--no-dependencies"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "publish-vsix",
            "label": "Publish a .vsix",
            "fields": [
              "package_path"
            ],
            "required": [
              "package_path"
            ]
          },
          {
            "id": "publish",
            "label": "Publish project",
            "fields": [
              "target",
              "pre_release"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package_path",
              "target",
              "pre_release"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "no_deps"
            ]
          }
        ]
      }
    ]
  }
}
