{
  "id": "cocoapods",
  "name": "CocoaPods",
  "homepage": "https://cocoapods.org",
  "description": "A dependency manager for Swift and Objective-C Cocoa projects.",
  "icon": "theSVG:cocoapods",
  "executables": [
    "pod"
  ],
  "platforms": [
    "macos"
  ],
  "dotfiles": {
    "paths": [
      "~/.cocoapods/config.yaml"
    ],
    "exclude": [
      "~/.cocoapods/repos/",
      "~/.cocoapods/templates/",
      "~/Library/Caches/CocoaPods/"
    ],
    "secret": [
      "~/.netrc"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "CocoaPods",
    "description": "Install dependencies, search pods, or generate a Podfile.",
    "quality": "ai-draft",
    "base": "fig:pod",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/pod.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install dependencies",
        "description": "Install project dependencies according to the Podfile.lock.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pod.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "repo_update",
            "label": "Update spec repos first",
            "type": "boolean",
            "option": [
              "--repo-update"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "deployment",
            "label": "Deployment mode",
            "description": "Disallow any changes to the Podfile or Podfile.lock.",
            "type": "boolean",
            "option": [
              "--deployment"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clean_install",
            "label": "Clean install",
            "description": "Ignore the project cache and force a full installation.",
            "type": "boolean",
            "option": [
              "--clean-install"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "project_directory",
            "label": "Project directory",
            "type": "path",
            "option": [
              "--project-directory"
            ],
            "path": {
              "kind": "directory",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install",
            "fields": [
              "repo_update",
              "project_directory"
            ],
            "required": []
          },
          {
            "id": "ci",
            "label": "CI install",
            "set": {
              "deployment": [
                true
              ]
            },
            "fields": [
              "deployment",
              "repo_update",
              "project_directory"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "project_directory",
              "repo_update"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "deployment",
              "clean_install"
            ]
          }
        ]
      },
      {
        "path": [
          "search"
        ],
        "label": "Search pods",
        "description": "Search for pods by name or regular expression.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pod.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "query",
            "label": "Query",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "regex",
            "label": "Regular expression",
            "type": "boolean",
            "option": [
              "--regex"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "simple",
            "label": "Search by name only",
            "type": "boolean",
            "option": [
              "--simple"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "stats",
            "label": "Show stats",
            "type": "boolean",
            "option": [
              "--stats"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "ios",
            "label": "iOS only",
            "type": "boolean",
            "option": [
              "--ios"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "osx",
            "label": "macOS only",
            "type": "boolean",
            "option": [
              "--osx"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_pager",
            "label": "No pager",
            "type": "boolean",
            "option": [
              "--no-pager"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "search",
            "label": "Search",
            "fields": [
              "query",
              "simple",
              "ios",
              "osx",
              "no_pager"
            ],
            "required": [
              "query"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "query",
              "simple",
              "regex"
            ]
          },
          {
            "id": "advanced",
            "label": "Filters",
            "fields": [
              "ios",
              "osx",
              "stats",
              "no_pager"
            ]
          }
        ]
      },
      {
        "path": [
          "init"
        ],
        "label": "Generate a Podfile",
        "description": "Generate a Podfile for the current directory.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pod.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "xcodeproj",
            "label": "Xcode project",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "any",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "init",
            "label": "Generate Podfile",
            "fields": [
              "xcodeproj"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "xcodeproj"
            ]
          }
        ]
      }
    ]
  }
}
