관리-도구
편집 파일: cache.cpython-310.pyc
o ƚRed � @ s� d dl Z d dlZd dlmZ d dlmZmZ d dlm m m Z d dlmZ d dl mZmZ d dlmZmZ d dlmZ ee�ZG dd � d e�ZdS ) � N)�Values)�Any�List)�Command)�ERROR�SUCCESS)�CommandError�PipError)� getLoggerc @ s0 e Zd ZdZdZdZd#dd�Zded ee de fd d�Zded ee ddfdd �Z ded ee ddfdd�Zded ee ddfdd�Zdee ddfdd�Zdee ddfdd�Zded ee ddfdd�Zded ee ddfdd�Zdede de fdd�Zdedee fdd�Zded e dee fd!d"�ZdS )$�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 C s, | j jddddddd� | j�d| j � d S ) 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)�self� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/commands/cache.py�add_options'