{
  "id": "pip",
  "name": "pip",
  "homepage": "https://pip.pypa.io/en/stable/topics/configuration/",
  "description": "The package installer for Python.",
  "icon": "theSVG:python",
  "executables": [
    "pip",
    "pip3"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/pip/pip.conf",
      "%APPDATA%/pip/pip.ini",
      "~/.pip/pip.conf"
    ],
    "exclude": [
      "[cacheHome]/pip/"
    ],
    "secret": [],
    "machine_lines": [
      {
        "file": [
          "[appData]/pip/pip.conf",
          "%APPDATA%/pip/pip.ini",
          "~/.pip/pip.conf"
        ],
        "match": {
          "prefix": [
            "cache-dir"
          ]
        },
        "scope": "backup"
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "pip",
    "description": "Install packages and inspect the environment. Index, proxy, constraint and build options are left out of the install form because the completion data lacks them.",
    "quality": "ai-draft",
    "base": "fig:pip",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/pip.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pip.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "requirement",
            "label": "Requirements file",
            "type": "path",
            "option": [
              "--requirement",
              "-r"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install packages",
            "fields": [
              "packages",
              "requirement"
            ],
            "required": [
              "packages"
            ]
          },
          {
            "id": "reqs",
            "label": "Install from requirements",
            "fields": [
              "requirement"
            ],
            "required": [
              "requirement"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages",
              "requirement"
            ]
          }
        ]
      },
      {
        "path": [
          "uninstall"
        ],
        "label": "Uninstall packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pip.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "packages",
            "label": "Packages",
            "type": "string",
            "position": 0,
            "multiple": true,
            "effect": "delete",
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "uninstall",
            "label": "Uninstall",
            "fields": [
              "packages"
            ],
            "required": [
              "packages"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "packages"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List installed packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pip.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "uptodate",
            "label": "Up to date only",
            "type": "boolean",
            "option": [
              "--uptodate",
              "-u"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "editable",
            "label": "Editable only",
            "type": "boolean",
            "option": [
              "--editable",
              "-e"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "local",
            "label": "Exclude global packages",
            "type": "boolean",
            "option": [
              "--local",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "user",
            "label": "User site only",
            "type": "boolean",
            "option": [
              "--user"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pre",
            "label": "Include pre-releases",
            "type": "boolean",
            "option": [
              "--pre"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "not_required",
            "label": "Not required by others",
            "type": "boolean",
            "option": [
              "--not-required"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List packages",
            "fields": [
              "uptodate",
              "editable",
              "local",
              "user",
              "pre",
              "not_required"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "uptodate",
              "editable",
              "local",
              "user",
              "pre"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "not_required"
            ]
          }
        ]
      },
      {
        "path": [
          "freeze"
        ],
        "label": "Freeze requirements",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pip.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "local",
            "label": "Exclude global packages",
            "type": "boolean",
            "option": [
              "--local",
              "-l"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "user",
            "label": "User site only",
            "type": "boolean",
            "option": [
              "--user"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "Include pip and setuptools",
            "type": "boolean",
            "option": [
              "--all"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "exclude_editable",
            "label": "Exclude editable",
            "type": "boolean",
            "option": [
              "--exclude-editable"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "freeze",
            "label": "Freeze",
            "fields": [
              "local",
              "user",
              "all",
              "exclude_editable"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "local",
              "user",
              "all",
              "exclude_editable"
            ]
          }
        ]
      }
    ]
  }
}
