{
  "id": "pipx",
  "name": "pipx",
  "description": "Install and run Python applications in isolated environments.",
  "homepage": "https://pipx.pypa.io",
  "executables": [
    "pipx"
  ],
  "commands": {
    "format": 1,
    "label": "pipx",
    "description": "Install, run, upgrade and list Python apps.",
    "quality": "ai-draft",
    "base": "fig:pipx",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/pipx.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "install"
        ],
        "label": "Install an app",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipx.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package_spec",
            "label": "Package",
            "description": "Package name or pip installation spec.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Overwrite existing environment",
            "type": "boolean",
            "option": [
              "--force"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "include_deps",
            "label": "Include dependency apps",
            "type": "boolean",
            "option": [
              "--include-deps"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "python",
            "label": "Python executable",
            "type": "string",
            "option": [
              "--python"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "suffix",
            "label": "Name suffix",
            "type": "string",
            "option": [
              "--suffix"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "system_site_packages",
            "label": "System site-packages",
            "type": "boolean",
            "option": [
              "--system-site-packages"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "install",
            "label": "Install",
            "fields": [
              "package_spec"
            ],
            "required": [
              "package_spec"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package_spec",
              "force",
              "include_deps",
              "python"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "suffix",
              "system_site_packages",
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "run"
        ],
        "label": "Run an app",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipx.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "app",
            "label": "App and its arguments",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "spec",
            "label": "Package spec",
            "type": "string",
            "option": [
              "--spec"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "python",
            "label": "Python version",
            "type": "string",
            "option": [
              "--python"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "no_cache",
            "label": "Do not reuse cached environment",
            "type": "boolean",
            "option": [
              "--no-cache"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run",
            "fields": [
              "app"
            ],
            "required": [
              "app"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "app",
              "spec",
              "python",
              "no_cache"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "verbose"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List installed apps",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipx.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "short",
            "label": "Packages only",
            "type": "boolean",
            "option": [
              "--short"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "json",
            "label": "JSON output",
            "type": "boolean",
            "option": [
              "--json"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "include_injected",
            "label": "Include injected packages",
            "type": "boolean",
            "option": [
              "--include-injected"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List",
            "fields": [
              "short"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "short",
              "json",
              "include_injected"
            ]
          }
        ]
      },
      {
        "path": [
          "upgrade"
        ],
        "label": "Upgrade an app",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/pipx.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "package",
            "label": "Package",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "force",
            "label": "Overwrite existing environment",
            "type": "boolean",
            "option": [
              "--force",
              "-f"
            ],
            "effect": "overwrite",
            "sources": [
              "fig"
            ]
          },
          {
            "id": "include_injected",
            "label": "Also upgrade injected packages",
            "type": "boolean",
            "option": [
              "--include-injected"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "verbose",
            "label": "Verbose",
            "type": "boolean",
            "option": [
              "--verbose"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "upgrade",
            "label": "Upgrade",
            "fields": [
              "package"
            ],
            "required": [
              "package"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "package",
              "force",
              "include_injected"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "verbose"
            ]
          }
        ]
      }
    ]
  }
}
