id = "volta"
name = "Volta"
homepage = "https://volta.sh"
description = "Volta: JS Toolchains as Code. The Hassle-Free JavaScript Tool Manager."
icon = "https://raw.githubusercontent.com/volta-cli/assets/main/concepts/tesla-coil/two-coils-straightened-v-only-350x350.png"
executables = ["volta"]
[dotfiles]
paths = [
"~/.volta/hooks.json",
"~/.volta/tools/user/platform.json",
"%LOCALAPPDATA%/Volta/hooks.json",
"%LOCALAPPDATA%/Volta/tools/user/platform.json",
]
exclude = []
secret = []
side_effect = false
[commands]
format = 1
label = "Volta"
description = "JavaScript tool manager. Forms cover install and pin."
quality = "ai-draft"
base = "fig:volta"
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/volta.ts"
license = "MIT"
[[commands.subcommand]]
path = ["install"]
label = "Install tool"
description = "Install tools into your toolchain."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/volta.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "tools"
label = "Tools"
description = "tool@version, e.g. node@20."
type = "string"
position = 0
multiple = true
min = 1
suggestions = [{ value = "node@lts", label = "node@lts" }, { value = "node@20", label = "node@20" }, { value = "yarn@1", label = "yarn@1" }]
sources = ["fig"]
[[commands.subcommand.field]]
id = "verbose"
label = "Verbose"
type = "boolean"
option = ["--verbose"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "quiet"
label = "Quiet"
type = "boolean"
option = ["--quiet"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "install"
label = "Install"
fields = ["tools"]
required = ["tools"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["tools"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["verbose", "quiet"]
[[commands.subcommand]]
path = ["pin"]
label = "Pin tool"
description = "Pin the project's runtime or package manager."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/volta.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "tools"
label = "Tools"
description = "tool@version, e.g. node@20."
type = "string"
position = 0
multiple = true
min = 1
suggestions = [{ value = "node@lts", label = "node@lts" }, { value = "node@20", label = "node@20" }, { value = "yarn@1", label = "yarn@1" }]
sources = ["fig"]
[[commands.subcommand.field]]
id = "verbose"
label = "Verbose"
type = "boolean"
option = ["--verbose"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "quiet"
label = "Quiet"
type = "boolean"
option = ["--quiet"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "pin"
label = "Pin"
fields = ["tools"]
required = ["tools"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["tools"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["verbose", "quiet"]