{
  "id": "vultr-cli",
  "name": "vultr-cli",
  "homepage": "https://github.com/vultr/vultr-cli",
  "description": "Official command line tool for Vultr services",
  "icon": "SimpleIcons:vultr",
  "executables": [
    "vultr-cli"
  ],
  "dotfiles": {
    "paths": [],
    "exclude": [],
    "secret": [
      "[appData]/vultr-cli.yaml",
      "~/.vultr-cli.yaml"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Vultr instances",
    "description": "Create, inspect and delete Vultr instances. Requires VULTR_API_KEY; other resource types are left out.",
    "quality": "ai-draft",
    "base": "fig:vultr-cli",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/vultr-cli.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "instance",
          "create"
        ],
        "label": "Create an instance",
        "description": "Create a server from an OS, plan and region ID.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vultr-cli.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "os",
            "label": "Operating system ID",
            "type": "string",
            "option": [
              "--os",
              "-o"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "plan",
            "label": "Plan ID",
            "type": "string",
            "option": [
              "--plan",
              "-p"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "region",
            "label": "Region ID",
            "type": "string",
            "option": [
              "--region",
              "-r"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create instance",
            "fields": [
              "os",
              "plan",
              "region"
            ],
            "required": [
              "os",
              "plan",
              "region"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "os",
              "plan",
              "region"
            ]
          }
        ]
      },
      {
        "path": [
          "instance",
          "get"
        ],
        "label": "Show an instance",
        "description": "Get information about one instance.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vultr-cli.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "instance_id",
            "label": "Instance ID",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "get",
            "label": "Show instance",
            "fields": [
              "instance_id"
            ],
            "required": [
              "instance_id"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "instance_id"
            ]
          }
        ]
      },
      {
        "path": [
          "instance",
          "delete"
        ],
        "label": "Delete an instance",
        "description": "Permanently destroy an instance.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/vultr-cli.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "instance_id",
            "label": "Instance ID",
            "description": "Destroys the instance.",
            "type": "string",
            "position": 0,
            "effect": "delete",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "delete",
            "label": "Delete instance",
            "fields": [
              "instance_id"
            ],
            "required": [
              "instance_id"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "instance_id"
            ]
          }
        ]
      }
    ]
  }
}
