
                            d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dZ	 ej                  ej                  j                  ej                  j                  ej                  j                         G d d	ej                               Zy
)z*List Artifact Registry resource locations.    )absolute_import)division)unicode_literals)base)utilz+    table(
      name:label=LOCATIONS
    )c                   0    e Zd ZdZdddZed        Zd Zy)Listz/List all Artifact Registry supported locations.z{description}z>    To list all supported locations:

        $ {command}
    )DESCRIPTIONEXAMPLESc                     | j                   j                  t               t        j                  j                  |        y )N)display_info	AddFormatDEFAULT_LIST_FORMATr   URI_FLAGRemoveFromParser)parsers    'lib/surface/artifacts/locations/list.pyArgsz	List.Args/   s)    
!!"56MM""6*    c                 V    t        j                  |      D cg c]  }d|i c}S c c}w )zThis is what gets called when the user runs this command.

    Args:
      args: an argparse namespace. All the arguments that were provided
        to this command invocation.

    Returns:
      A list of all supported locations.
    name)r   GetLocationList)selfargslocs      r   RunzList.Run4   s-     &*%9%9$%?@%?cVSM%?@@@s   &N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r	   r	      s2     8 		- + +Ar   r	   N)r    
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.artifactsr   r   ReleaseTracksReleaseTrackALPHABETAGAListCommandr	   r#   r   r   <module>r-      s}    1 &  ' ( 5	  D%%++T->->-C-C%%((*A4 A*Ar   