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 }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/vue.ts"
license = "MIT"
[[commands.subcommand]]
path = ["create"]
label = "Create a project"
description = "Scaffold a new Vue project."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/vue.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "app_name"
label = "Project name"
description = "Directory to create the project in."
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "preset"
label = "Preset"
description = "Saved or remote preset name."
type = "string"
option = ["--preset", "-p"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "default"
label = "Use default preset"
type = "boolean"
option = ["--default", "-d"]
sources = ["fig"]
[[commands.subcommand.field]]
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"]
[[commands.subcommand.field]]
id = "registry"
label = "npm registry"
type = "url"
option = ["--registry", "-r"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "no_git"
label = "Skip git initialization"
type = "boolean"
option = ["--no-git", "-n"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "git_message"
label = "Force git init with message"
type = "string"
option = ["--git", "-g"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "force"
label = "Overwrite target directory"
type = "boolean"
option = ["--force", "-f"]
effect = "overwrite"
sources = ["fig"]
[[commands.subcommand.field]]
id = "merge"
label = "Merge into existing directory"
type = "boolean"
option = ["--merge"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "default"
label = "Create with defaults"
fields = ["app_name", "default"]
required = ["app_name"]
[[commands.subcommand.task]]
id = "preset"
label = "Create from preset"
fields = ["app_name", "preset", "package_manager"]
required = ["app_name", "preset"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["app_name", "preset", "default", "package_manager"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["registry", "git_message", "merge", "no_git", "force"]
[[commands.subcommand]]
path = ["serve"]
label = "Serve a file"
description = "Zero-config dev server for one file."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/vue.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "entry"
label = "Entry file"
description = ".js or .vue file to serve."
type = "path"
position = 0
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "open"
label = "Open browser"
type = "boolean"
option = ["--open", "-o"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "copy"
label = "Copy URL to clipboard"
type = "boolean"
option = ["--copy", "-c"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "port"
label = "Port"
type = "integer"
option = ["--port", "-p"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "serve"
label = "Serve a component"
fields = ["entry", "open", "port"]
required = ["entry"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["entry", "open", "port"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["copy"]