{
  "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
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install version",
        "description": "Install a Terraform version (latest, min-required or a number).",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "version",
            "label": "Version",
            "type": "string",
            "position": 0,
            "suggestions": [
              {
                "value": "latest",
                "label": "Latest"
              },
              {
                "value": "min-required",
                "label": "Minimum required by config"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install",
            "fields": [
              "version"
            ],
            "required": [
              "version"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "version"
            ]
          }
        ]
      },
      {
        "path": [
          "use"
        ],
        "label": "Use version",
        "description": "Switch to an installed version.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "version",
            "label": "Version",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "use",
            "label": "Use",
            "fields": [
              "version"
            ],
            "required": [
              "version"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "version"
            ]
          }
        ]
      },
      {
        "path": [
          "uninstall"
        ],
        "label": "Uninstall version",
        "description": "Uninstall a version.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "version",
            "label": "Version",
            "type": "string",
            "position": 0,
            "effect": "delete",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "uninstall",
            "label": "Uninstall",
            "fields": [
              "version"
            ],
            "required": [
              "version"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "version"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List installed",
        "description": "List installed versions.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts",
            "license": "MIT"
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": []
          }
        ]
      },
      {
        "path": [
          "list-remote"
        ],
        "label": "List installable",
        "description": "List installable versions.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/tfenv.ts",
            "license": "MIT"
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": []
          }
        ]
      }
    ]
  }
}
