SILENT KILLERPanel

Current Path: > > usr > lib > python3.8 > site-packages > > pip > > _internal > commands


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/lib/python3.8/site-packages//pip//_internal/commands

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 3714 bytes October 17 2023 18:30:24.
check.py File 1505 bytes October 17 2023 18:30:24.
completion.py File 2975 bytes October 17 2023 18:30:24.
configuration.py File 7226 bytes October 17 2023 18:30:24.
debug.py File 3394 bytes October 17 2023 18:30:24.
download.py File 5577 bytes October 17 2023 18:30:24.
freeze.py File 3464 bytes October 17 2023 18:30:24.
hash.py File 1735 bytes October 17 2023 18:30:24.
help.py File 1181 bytes October 17 2023 18:30:24.
install.py File 24559 bytes October 17 2023 18:30:24.
list.py File 10548 bytes October 17 2023 18:30:24.
search.py File 5148 bytes October 17 2023 18:30:24.
show.py File 6792 bytes October 17 2023 18:30:24.
uninstall.py File 2983 bytes October 17 2023 18:30:24.
wheel.py File 6408 bytes October 17 2023 18:30:24.

Reading File: //usr/lib/python3.8/site-packages//pip//_internal/commands/help.py

# The following comment should be removed at some point in the future.
# mypy: disallow-untyped-defs=False

from __future__ import absolute_import

from pip._internal.cli.base_command import Command
from pip._internal.cli.status_codes import SUCCESS
from pip._internal.exceptions import CommandError


class HelpCommand(Command):
    """Show help for commands"""

    usage = """
      %prog <command>"""
    ignore_require_venv = True

    def run(self, options, args):
        from pip._internal.commands import (
            commands_dict, create_command, get_similar_commands,
        )

        try:
            # 'pip help' with no args is handled by pip.__init__.parseopt()
            cmd_name = args[0]  # the command we need help for
        except IndexError:
            return SUCCESS

        if cmd_name not in commands_dict:
            guess = get_similar_commands(cmd_name)

            msg = ['unknown command "%s"' % cmd_name]
            if guess:
                msg.append('maybe you meant "%s"' % guess)

            raise CommandError(' - '.join(msg))

        command = create_command(cmd_name)
        command.parser.print_help()

        return SUCCESS

SILENT KILLER Tool