id = "fvm"
name = "FVM"
homepage = "https://fvm.app"
description = "Flutter Version Management: A simple CLI to manage Flutter SDK versions."
icon = "https://fvm.app/assets/logo.svg"
executables = ["fvm"]
[dotfiles]
paths = ["[appData]/fvm/.fvmrc"]
exclude = ["~/fvm/versions/", "~/fvm/cache.git/"]
secret = []
side_effect = false
[[dotfiles.machine_lines]]
file = "[appData]/fvm/.fvmrc"
format = "json"
match = { key_path = ["cachePath", "gitCachePath"] }
scope = "backup"
[commands]
format = 1
label = "Manage Flutter SDK versions"
description = "Install, select, list and remove Flutter SDK versions with FVM. Config, flavors and proxied dart/flutter commands are left out."
quality = "ai-draft"
base = "fig:fvm"
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/fvm.ts"
license = "MIT"
[[commands.subcommand]]
path = ["install"]
label = "Install a Flutter SDK"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/fvm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version or channel"
type = "string"
position = 0
suggestions = [{ value = "stable", label = "stable" }, { value = "beta", label = "beta" }, { value = "dev", label = "dev" }]
sources = ["fig"]
[[commands.subcommand.field]]
id = "skip_setup"
label = "Skip Flutter setup"
type = "boolean"
option = ["--skip-setup", "-s"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "install"
label = "Install version"
fields = ["version", "skip_setup"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version", "skip_setup"]
[[commands.subcommand]]
path = ["use"]
label = "Use a version in this project"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/fvm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version or channel"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "pin"
label = "Pin latest release of channel"
type = "boolean"
option = ["--pin", "-p"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "force"
label = "Skip project checks"
type = "boolean"
option = ["--force", "-f"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "use"
label = "Use version"
fields = ["version", "pin", "force"]
required = ["version"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version", "pin", "force"]
[[commands.subcommand]]
path = ["remove"]
label = "Remove an installed version"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/fvm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "force"
label = "Skip global version check"
type = "boolean"
option = ["--force"]
effect = "delete"
sources = ["fig"]
[[commands.subcommand.task]]
id = "remove"
label = "Remove version"
fields = ["version", "force"]
required = ["version"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version", "force"]
[[commands.subcommand]]
path = ["list"]
label = "List installed versions"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/fvm.ts"
license = "MIT"