id = "tfenv"
name = "tfenv"
homepage = "https://github.com/tfutils/tfenv"
description = "Terraform version manager inspired by rbenv."
executables = ["tfenv"]
[dotfiles]
paths = ["~/.terraform-version"]
exclude = []
secret = []
side_effect = false
[commands]
format = 1
label = "tfenv versions"
description = "Install and switch Terraform versions."
quality = "ai-draft"
base = "fig:tfenv"
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/tfenv.ts"
license = "MIT"
[[commands.subcommand]]
path = ["install"]
label = "Install version"
description = "Install a Terraform version (latest, min-required or a number)."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version"
type = "string"
position = 0
suggestions = [{ value = "latest", label = "Latest" }, { value = "min-required", label = "Minimum required by config" }]
sources = ["fig"]
[[commands.subcommand.task]]
id = "install"
label = "Install"
fields = ["version"]
required = ["version"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version"]
[[commands.subcommand]]
path = ["use"]
label = "Use version"
description = "Switch to an installed version."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.task]]
id = "use"
label = "Use"
fields = ["version"]
required = ["version"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version"]
[[commands.subcommand]]
path = ["uninstall"]
label = "Uninstall version"
description = "Uninstall a version."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version"
type = "string"
position = 0
effect = "delete"
sources = ["fig"]
[[commands.subcommand.task]]
id = "uninstall"
label = "Uninstall"
fields = ["version"]
required = ["version"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version"]
[[commands.subcommand]]
path = ["list"]
label = "List installed"
description = "List installed versions."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts"
license = "MIT"
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = []
[[commands.subcommand]]
path = ["list-remote"]
label = "List installable"
description = "List installable versions."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts"
license = "MIT"
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = []