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"""
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 notin commands_dict:
guess = get_similar_commands(cmd_name)
msg = [f'unknown command "{cmd_name}"'] if guess:
msg.append(f'maybe you meant "{guess}"')
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.