{
  "id": "kumactl",
  "name": "kumactl",
  "homepage": "https://kuma.io/",
  "description": "Kuma control plane command-line utility",
  "executables": [
    "kumactl"
  ],
  "dotfiles": {
    "paths": [
      "~/.kumactl/config"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "kumactl",
    "description": "Apply a Kuma resource file, optionally filling template variables. Only available against a Universal control plane; get, inspect and install are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "apply"
        ],
        "label": "Apply a resource file",
        "source": [
          {
            "id": "cli",
            "kind": "manual",
            "url": "https://kuma.io/docs/2.13.x/explore/cli/",
            "revision": "2.13.x",
            "evidence": "kumactl apply [..]: used to change the state of Kuma. Only available on Universal.\nkumactl apply -f ~/res/mesh.yaml -v caType=builtin\nTo change the path of the config file, run kumactl with --config-file /new-path/config.\n"
          }
        ],
        "field": [
          {
            "id": "file",
            "label": "Resource file",
            "type": "path",
            "option": [
              "-f"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "cli"
            ]
          },
          {
            "id": "var",
            "label": "Template variable (key=value)",
            "type": "string",
            "option": [
              "-v"
            ],
            "multiple": true,
            "sources": [
              "cli"
            ]
          },
          {
            "id": "config_file",
            "label": "kumactl config file",
            "type": "path",
            "option": [
              "--config-file"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "cli"
            ]
          }
        ],
        "task": [
          {
            "id": "apply",
            "label": "Apply a file",
            "fields": [
              "file",
              "var"
            ],
            "required": [
              "file"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "file",
              "var",
              "config_file"
            ]
          }
        ]
      }
    ]
  }
}
