{
  "id": "kind",
  "name": "kind",
  "description": "Run local Kubernetes clusters using Docker containers as nodes.",
  "homepage": "https://kind.sigs.k8s.io",
  "executables": [
    "kind"
  ],
  "commands": {
    "format": 1,
    "label": "kind",
    "description": "Manage local kind clusters: create, delete and list.",
    "quality": "ai-draft",
    "base": "fig:kind",
    "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/kind.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "quiet",
        "label": "Quiet",
        "description": "Silence all stderr output.",
        "type": "boolean",
        "option": [
          "--quiet",
          "-q"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbosity",
        "label": "Log verbosity",
        "type": "integer",
        "option": [
          "--verbosity",
          "-v"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": []
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "quiet",
          "verbosity"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "create",
          "cluster"
        ],
        "label": "Create a cluster",
        "description": "Create a local Kubernetes cluster.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kind.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Cluster name",
            "type": "string",
            "option": [
              "--name"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "config",
            "label": "Config file",
            "type": "path",
            "option": [
              "--config"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "image",
            "label": "Node image",
            "type": "string",
            "option": [
              "--image"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "wait",
            "label": "Wait for control plane",
            "description": "Duration such as 60s.",
            "type": "string",
            "option": [
              "--wait"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "kubeconfig",
            "label": "Kubeconfig path",
            "type": "path",
            "option": [
              "--kubeconfig"
            ],
            "path": {
              "kind": "file",
              "role": "output",
              "must_exist": false
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "retain",
            "label": "Retain nodes on failure",
            "type": "boolean",
            "option": [
              "--retain"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "create",
            "label": "Create cluster",
            "fields": [
              "name",
              "config",
              "image",
              "wait"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "config",
              "image",
              "wait"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "kubeconfig",
              "retain"
            ]
          }
        ]
      },
      {
        "path": [
          "delete",
          "cluster"
        ],
        "label": "Delete a cluster",
        "description": "Delete a kind cluster.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kind.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Cluster name",
            "type": "string",
            "option": [
              "--name"
            ],
            "effect": "delete",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "delete",
            "label": "Delete cluster",
            "fields": [
              "name"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name"
            ]
          }
        ]
      },
      {
        "path": [
          "get",
          "clusters"
        ],
        "label": "List clusters",
        "description": "List existing kind clusters.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kind.ts",
            "license": "MIT"
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": []
          }
        ]
      },
      {
        "path": [
          "get",
          "nodes"
        ],
        "label": "List nodes",
        "description": "List the nodes of a cluster.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kind.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Cluster name",
            "type": "string",
            "option": [
              "--name"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "All clusters",
            "type": "boolean",
            "option": [
              "--all",
              "-A"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "nodes",
            "label": "List nodes",
            "fields": [
              "name",
              "all"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "all"
            ]
          }
        ]
      }
    ]
  }
}
