{
  "id": "pipenv",
  "name": "Pipenv",
  "description": "Python package and virtualenv manager.",
  "homepage": "https://pipenv.pypa.io",
  "executables": [
    "pipenv"
  ],
  "commands": {
    "format": 1,
    "label": "Pipenv",
    "description": "Manage a project's virtualenv and dependencies: install, uninstall and lock.",
    "quality": "ai-draft",
    "base": "fig:pipenv",
    "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/pipenv.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipenv.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package",
            "label": "Package",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "dev",
            "label": "Include dev packages",
            "type": "boolean",
            "option": [
              "--dev",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pre",
            "label": "Allow pre-releases",
            "type": "boolean",
            "option": [
              "--pre"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_lock",
            "label": "Skip locking",
            "type": "boolean",
            "option": [
              "--skip-lock"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "deploy",
            "label": "Fail if lock is stale",
            "type": "boolean",
            "option": [
              "--deploy"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "python",
            "label": "Python version",
            "type": "string",
            "option": [
              "--python"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "requirements",
            "label": "Import requirements.txt",
            "type": "path",
            "option": [
              "--requirements",
              "-r"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose",
              "-v"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "add",
            "label": "Add a package",
            "fields": [
              "package"
            ],
            "required": [
              "package"
            ]
          },
          {
            "id": "all",
            "label": "Install from Pipfile",
            "fields": [
              "dev"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package",
              "dev",
              "pre",
              "skip_lock",
              "deploy",
              "python",
              "requirements"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "uninstall"
        ],
        "label": "Uninstall packages",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipenv.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package",
            "label": "Package",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all",
            "label": "Purge all packages from virtualenv",
            "type": "boolean",
            "option": [
              "--all"
            ],
            "effect": "delete",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "all_dev",
            "label": "Uninstall all dev packages",
            "type": "boolean",
            "option": [
              "--all-dev"
            ],
            "effect": "delete",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "skip_lock",
            "label": "Skip locking",
            "type": "boolean",
            "option": [
              "--skip-lock"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "remove",
            "label": "Remove a package",
            "fields": [
              "package"
            ],
            "required": [
              "package"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package",
              "all",
              "all_dev",
              "skip_lock"
            ]
          }
        ]
      },
      {
        "path": [
          "lock"
        ],
        "label": "Generate Pipfile.lock",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipenv.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "dev",
            "label": "Include dev dependencies",
            "type": "boolean",
            "option": [
              "--dev",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "pre",
            "label": "Allow pre-releases",
            "type": "boolean",
            "option": [
              "--pre"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "keep_outdated",
            "label": "Keep outdated",
            "type": "boolean",
            "option": [
              "--keep-outdated"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "clear",
            "label": "Clear caches",
            "type": "boolean",
            "option": [
              "--clear"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose",
              "-v"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "lock",
            "label": "Lock",
            "fields": [
              "dev"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "dev",
              "pre",
              "keep_outdated",
              "clear"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "verbose"
            ]
          }
        ]
      }
    ]
  }
}
