File: //lib/google-cloud-sdk/lib/surface/artifacts/apt/__pycache__/import.cpython-312.pyc
�
��} � �� � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
dd lmZ dd
lm
Z
ddlmZ G d� d
e
j � Zdddj% ddddd� d�e_ y)zCImplements the command to import Debian packages into a repository.� )�absolute_import)�division)�unicode_literals)�apis)�waiter)�arg_parsers)�base)�
exceptions)�flags)� resourcesc �* � e Zd ZdZdZed� � Zd� Zy)�Import�?Import one or more Debian packages into an artifact repository.�v1c �� � t j � j | � t j j | � | j dddt
j � d�� y)z\Set up arguements for this command.
Args:
parser: An argparse.ArgumentPaser.
z--gcs-source�
GCS_SOURCETz� The Google Cloud Storage location of a package to import.
To import multiple packages, use wildcards at the end of the path.
)�metavar�required�type�helpN)r �
GetRepoArg�AddToParserr �
ASYNC_FLAG�add_argumentr �ArgList)�parsers �#lib/surface/artifacts/apt/import.py�ArgszImport.Args$ sZ � �
����"�"�6�*��O�O����'�
������
�
�
�
"�� � � c �� � t j d| j � }|j }|j D ]. }d|v s�|j d� r�t
j dd� � |j j j � }|j |j d�� }|j |�� }|j ||j � �� }|j j! |� }t"