{
  "name": "pyenv",
  "description": "Pyenv",
  "subcommands": [
    {
      "name": "commands",
      "description": "Lists all available pyenv commands"
    },
    {
      "name": "local",
      "description": "Sets a local application-specific Python version",
      "options": [
        {
          "names": [
            "--unset"
          ]
        }
      ],
      "args": [
        {
          "name": "python version",
          "is_variadic": true
        }
      ]
    },
    {
      "name": "global",
      "description": "Sets the global version of Python to be used in all shells",
      "args": [
        {
          "name": "python version"
        }
      ]
    },
    {
      "name": "shell",
      "description": "Sets a shell-specific Python version",
      "options": [
        {
          "names": [
            "--unset"
          ]
        }
      ],
      "args": [
        {
          "name": "python version"
        }
      ]
    },
    {
      "name": "install",
      "description": "Install a Python version",
      "options": [
        {
          "names": [
            "-l",
            "--list"
          ],
          "description": "List all available versions"
        },
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Install even if the version appears to be installed already"
        },
        {
          "names": [
            "-s",
            "--skip-existing"
          ],
          "description": "Skip the installation if the version appears to be installed already"
        },
        {
          "names": [
            "-k",
            "--keep"
          ],
          "description": "Keep source tree in $PYENV_BUILD_ROOT after installation"
        },
        {
          "names": [
            "-v",
            "--verbose"
          ],
          "description": "Verbose mode: print compilation status to stdout"
        },
        {
          "names": [
            "-p",
            "--patch"
          ],
          "description": "Apply a patch from stdin before building"
        },
        {
          "names": [
            "-g",
            "--debug"
          ],
          "description": "Build a debug version"
        }
      ],
      "args": [
        {
          "name": "python version"
        }
      ]
    },
    {
      "name": "uninstall",
      "description": "Performs a deployment (default)",
      "options": [
        {
          "names": [
            "-f",
            "--force"
          ],
          "description": "Attempt to remove the specified version without prompting for confirmation"
        }
      ],
      "args": [
        {
          "name": "version"
        }
      ]
    },
    {
      "name": "rehash",
      "description": "Performs a deployment (default)"
    },
    {
      "name": "version",
      "description": "Displays the currently active Python version, along with information on how it was set"
    },
    {
      "name": "versions",
      "description": "Lists all Python versions known to pyenv, and shows an asterisk next to the currently active version",
      "options": [
        {
          "names": [
            "--bare"
          ],
          "description": "Print only the version names, one per line"
        },
        {
          "names": [
            "--skip-aliases"
          ],
          "description": "Skip printing aliases"
        }
      ]
    },
    {
      "name": "which",
      "description": "Displays the full path to the executable that pyenv will invoke when you run the given command",
      "args": [
        {
          "name": "command"
        }
      ]
    },
    {
      "name": "whence",
      "description": "Lists all Python versions with the given command installed",
      "args": [
        {
          "name": "command"
        }
      ]
    }
  ],
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Output usage information"
    }
  ]
}
