{
  "id": "vue",
  "name": "Vue CLI",
  "homepage": "https://cli.vuejs.org",
  "description": "Standard Tooling for Vue.js Development.",
  "icon": "SimpleIcons:vuedotjs",
  "executables": [
    "vue"
  ],
  "dotfiles": {
    "paths": [
      "~/.vuerc",
      "~/.config/vue/.vuerc"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Vue CLI",
    "description": "Create a project or serve a single component with the legacy Vue CLI. Plugin, inspect and upgrade commands are left out.",
    "quality": "ai-draft",
    "base": "fig:vue",
    "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/vue.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "create"
        ],
        "label": "Create a project",
        "description": "Scaffold a new Vue project.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vue.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "app_name",
            "label": "Project name",
            "description": "Directory to create the project in.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "preset",
            "label": "Preset",
            "description": "Saved or remote preset name.",
            "type": "string",
            "option": [
              "--preset",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "default",
            "label": "Use default preset",
            "type": "boolean",
            "option": [
              "--default",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "package_manager",
            "label": "Package manager",
            "description": "npm client used to install dependencies, e.g. npm, yarn or pnpm.",
            "type": "string",
            "option": [
              "--packageManager",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "registry",
            "label": "npm registry",
            "type": "url",
            "option": [
              "--registry",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_git",
            "label": "Skip git initialization",
            "type": "boolean",
            "option": [
              "--no-git",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "git_message",
            "label": "Force git init with message",
            "type": "string",
            "option": [
              "--git",
              "-g"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Overwrite target directory",
            "type": "boolean",
            "option": [
              "--force",
              "-f"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "merge",
            "label": "Merge into existing directory",
            "type": "boolean",
            "option": [
              "--merge"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "default",
            "label": "Create with defaults",
            "fields": [
              "app_name",
              "default"
            ],
            "required": [
              "app_name"
            ]
          },
          {
            "id": "preset",
            "label": "Create from preset",
            "fields": [
              "app_name",
              "preset",
              "package_manager"
            ],
            "required": [
              "app_name",
              "preset"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "app_name",
              "preset",
              "default",
              "package_manager"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "registry",
              "git_message",
              "merge",
              "no_git",
              "force"
            ]
          }
        ]
      },
      {
        "path": [
          "serve"
        ],
        "label": "Serve a file",
        "description": "Zero-config dev server for one file.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vue.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "entry",
            "label": "Entry file",
            "description": ".js or .vue file to serve.",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "open",
            "label": "Open browser",
            "type": "boolean",
            "option": [
              "--open",
              "-o"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "copy",
            "label": "Copy URL to clipboard",
            "type": "boolean",
            "option": [
              "--copy",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "port",
            "label": "Port",
            "type": "integer",
            "option": [
              "--port",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "serve",
            "label": "Serve a component",
            "fields": [
              "entry",
              "open",
              "port"
            ],
            "required": [
              "entry"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "entry",
              "open",
              "port"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "copy"
            ]
          }
        ]
      }
    ]
  }
}
