{
  "id": "rugby",
  "name": "Rugby",
  "description": "Caches CocoaPods dependencies as binaries to speed up Xcode builds.",
  "homepage": "https://github.com/swiftyfinch/Rugby",
  "executables": [
    "rugby"
  ],
  "commands": {
    "format": 1,
    "label": "Rugby",
    "description": "Build Pods targets and switch the project to the built binaries. cache, plan, rollback and other commands are not covered.",
    "quality": "ai-draft",
    "base": "fig:rugby",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "src",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/rugby.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "build"
        ],
        "label": "Build Pods targets",
        "source": [
          {
            "id": "src",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/rugby.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "ignore_cache",
            "label": "Ignore shared cache",
            "type": "boolean",
            "option": [
              "--ignore-cache"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "sdk",
            "label": "SDK (sim or ios)",
            "type": "string",
            "option": [
              "--sdk",
              "-s"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "arch",
            "label": "Architecture",
            "type": "string",
            "option": [
              "--arch",
              "-a"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "config",
            "label": "Build configuration",
            "type": "string",
            "option": [
              "--config",
              "-c"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "strip",
            "label": "Build without debug symbols",
            "type": "boolean",
            "option": [
              "--strip"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "targets",
            "label": "Targets",
            "type": "string",
            "option": [
              "--targets",
              "-t"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "targets_regex",
            "label": "Targets (regex)",
            "type": "string",
            "option": [
              "--targets-as-regex",
              "-g"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "except",
            "label": "Exclude targets",
            "type": "string",
            "option": [
              "--except",
              "-e"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "except_regex",
            "label": "Exclude targets (regex)",
            "type": "string",
            "option": [
              "--except-as-regex",
              "-x"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "output",
            "label": "Output mode",
            "type": "enum",
            "option": [
              "--output",
              "-o"
            ],
            "choices": [
              {
                "value": "fold",
                "label": "fold"
              },
              {
                "value": "multiline",
                "label": "multiline"
              },
              {
                "value": "quiet",
                "label": "quiet"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "verbose",
            "label": "Log level",
            "type": "count",
            "option": [
              "--verbose",
              "-v"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Build all targets",
            "fields": [
              "sdk"
            ],
            "required": []
          },
          {
            "id": "some",
            "label": "Build selected targets",
            "fields": [
              "targets",
              "sdk"
            ],
            "required": [
              "targets"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "sdk",
              "targets",
              "except"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "ignore_cache",
              "arch",
              "config",
              "strip",
              "targets_regex",
              "except_regex",
              "output",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "use"
        ],
        "label": "Use built binaries",
        "source": [
          {
            "id": "src",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/rugby.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "delete_sources",
            "label": "Delete target groups from project",
            "type": "boolean",
            "option": [
              "--delete-sources"
            ],
            "effect": "delete",
            "sources": [
              "src"
            ]
          },
          {
            "id": "strip",
            "label": "Build without debug symbols",
            "type": "boolean",
            "option": [
              "--strip"
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "targets",
            "label": "Targets",
            "type": "string",
            "option": [
              "--targets",
              "-t"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "targets_regex",
            "label": "Targets (regex)",
            "type": "string",
            "option": [
              "--targets-as-regex",
              "-g"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "except",
            "label": "Exclude targets",
            "type": "string",
            "option": [
              "--except",
              "-e"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "except_regex",
            "label": "Exclude targets (regex)",
            "type": "string",
            "option": [
              "--except-as-regex",
              "-x"
            ],
            "multiple": true,
            "sources": [
              "src"
            ]
          },
          {
            "id": "output",
            "label": "Output mode",
            "type": "enum",
            "option": [
              "--output",
              "-o"
            ],
            "choices": [
              {
                "value": "fold",
                "label": "fold"
              },
              {
                "value": "multiline",
                "label": "multiline"
              },
              {
                "value": "quiet",
                "label": "quiet"
              }
            ],
            "sources": [
              "src"
            ]
          },
          {
            "id": "verbose",
            "label": "Log level",
            "type": "count",
            "option": [
              "--verbose",
              "-v"
            ],
            "sources": [
              "src"
            ]
          }
        ],
        "task": [
          {
            "id": "use",
            "label": "Use binaries",
            "fields": [],
            "required": []
          },
          {
            "id": "some",
            "label": "Use selected targets",
            "fields": [
              "targets"
            ],
            "required": [
              "targets"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "delete_sources",
              "targets",
              "except"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "strip",
              "targets_regex",
              "except_regex",
              "output",
              "verbose"
            ]
          }
        ]
      }
    ]
  }
}
