| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pip/_internal/commands/__pycache__/ |
Upload File : |
�
�k�f � � � d dl Z d dlZd dlmZ d dlmZmZ d dlmZ d dl m
Z
mZ d dlm
Z
mZ d dlmZ d dlmZ ee� Z G d � d
e� Zy)� N)�Values)�Any�List)�Command)�ERROR�SUCCESS)�CommandError�PipError)�
filesystem)� getLoggerc �, � e Zd ZdZdZdZdd�Zdedee de
fd �Zdedee ddfd
�Z
dedee ddfd�Zdedee ddfd�Zd
ee ddfd�Zd
ee ddfd�Zdedee ddfd�Zdedee ddfd�Zdede de fd�Zdedee fd�Zdede dee fd�Zy)�CacheCommandaw
Inspect and manage pip's wheel cache.
Subcommands:
- dir: Show the cache directory.
- info: Show information about the cache.
- list: List filenames of packages stored in the cache.
- remove: Remove one or more package from the cache.
- purge: Remove all items from the cache.
``<pattern>`` can be a glob expression or a package name.
Tz�
%prog dir
%prog info
%prog list [<pattern>] [--format=[human, abspath]]
%prog remove <pattern>
%prog purge
�returnNc � � | j j dddddd�� | j j d| j � y ) Nz--format�store�list_format�human)r �abspathz:Select the output format among: human (default) or abspath)�action�dest�default�choices�helpr )�cmd_opts�
add_option�parser�insert_option_group)�selfs �>C:\Python312\Lib\site-packages\pip/_internal/commands/cache.py�add_optionszCacheCommand.add_options'