{
  "id": "rosa-cli",
  "name": "ROSA CLI",
  "homepage": "https://github.com/openshift/rosa",
  "description": "Red Hat OpenShift Service on AWS (ROSA) Command Line Tool.",
  "executables": [
    "rosa"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.ocm.json",
      "[configHome]/ocm/ocm.json"
    ]
  },
  "commands": {
    "format": 1,
    "label": "ROSA CLI",
    "description": "Describe a cluster or list clusters. Flag names come from the project's Go sources; other flags are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "describe",
          "cluster"
        ],
        "label": "Describe a cluster",
        "source": [
          {
            "id": "src",
            "kind": "help",
            "url": "https://github.com/openshift/rosa/blob/master/cmd/describe/cluster/cmd.go",
            "evidence": "\tShort: \"Show details of a cluster\",\n\tExample: `  # Describe a cluster named \"mycluster\"\n  rosa describe cluster --cluster=mycluster`,\n// This file contains functions used to implement the '--output' command line option.\nfmt.Sprintf(\"Output format. Allowed formats are %s\", formats)\nJSON = \"json\"\nYAML = \"yaml\"\n// AddProfileFlag adds the '--profile' flag to the given set of command line flags.\n// AddRegionFlag adds the '--region' flag to the given set of command line flags.\n"
          }
        ],
        "field": [
          {
            "id": "cluster",
            "label": "Cluster",
            "description": "Cluster name or ID.",
            "type": "string",
            "option": [
              "--cluster"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "output",
            "label": "Output format",
            "type": "enum",
            "option": [
              "--output"
            ],
            "choices": [
              {
                "value": "json",
                "label": "JSON"
              },
              {
                "value": "yaml",
                "label": "YAML"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "profile",
            "label": "AWS profile",
            "type": "string",
            "option": [
              "--profile"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "region",
            "label": "AWS region",
            "type": "string",
            "option": [
              "--region"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "describe",
            "label": "Describe a cluster",
            "fields": [
              "cluster",
              "output"
            ],
            "required": [
              "cluster"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "cluster",
              "output"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "profile",
              "region"
            ]
          }
        ]
      },
      {
        "path": [
          "list",
          "clusters"
        ],
        "label": "List clusters",
        "source": [
          {
            "id": "src",
            "kind": "help",
            "url": "https://github.com/openshift/rosa/blob/master/cmd/list/cluster/cmd.go",
            "evidence": "\tShort:   \"List clusters\",\n\tExample: `  # List all clusters\n  rosa list clusters`,\n// This file contains functions used to implement the '--output' command line option.\nfmt.Sprintf(\"Output format. Allowed formats are %s\", formats)\nJSON = \"json\"\nYAML = \"yaml\"\n// AddProfileFlag adds the '--profile' flag to the given set of command line flags.\n// AddRegionFlag adds the '--region' flag to the given set of command line flags.\n"
          }
        ],
        "field": [
          {
            "id": "output",
            "label": "Output format",
            "type": "enum",
            "option": [
              "--output"
            ],
            "choices": [
              {
                "value": "json",
                "label": "JSON"
              },
              {
                "value": "yaml",
                "label": "YAML"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "profile",
            "label": "AWS profile",
            "type": "string",
            "option": [
              "--profile"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "region",
            "label": "AWS region",
            "type": "string",
            "option": [
              "--region"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List clusters",
            "fields": [
              "output"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "output"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "profile",
              "region"
            ]
          }
        ]
      }
    ]
  }
}
