code: def patch():
      
      import click
      click.types.ParamType.complete = param_type_complete
      click.types.Choice.complete = choice_complete
      click.core.MultiCommand.get_command_short_help = multicommand_get_command_short_help
      click.core._bashcomplete = _shellcomplete
docs: Patch click