$15 GRAYBYTE WORDPRESS FILE MANAGER $36

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/commands/

HOME
Current File : /opt/alt/python39/lib/python3.9/site-packages/pip/_internal/commands//help.py
from optparse import Values
from typing import List

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: Values, args: List[str]) -> int:
        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 = [f'unknown command "{cmd_name}"']
            if guess:
                msg.append(f'maybe you meant "{guess}"')

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

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

        return SUCCESS


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
3.648 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
cache.py
7.348 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
check.py
1.646 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
completion.py
2.889 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
configuration.py
8.734 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
debug.py
6.474 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
download.py
4.789 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
freeze.py
2.882 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
hash.py
1.663 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
help.py
1.105 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
index.py
4.65 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
install.py
27.198 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
list.py
11.917 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
search.py
5.563 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
show.py
7.875 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
uninstall.py
3.443 KB
13 Nov 2023 9.47 PM
root / linksafe
0644
wheel.py
6.023 KB
13 Nov 2023 9.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF