
                         2   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  ej                  ej                  j                  ej                  j                  ej                  j                        ej                   G d dej                                      Zy	)
zList project repositories.    )absolute_import)division)unicode_literals)
sourcerepo)basec                   &    e Zd ZdZed        Zd Zy)Listat  List the repositories the currently active project.

  By default, repos in the current project are listed; this can be overridden
  with the gcloud --project flag.  The repository size is not returned, but
  can be retrieved for a particular repository with the describe command.

  ## EXAMPLES

  To list all repositories in the current project, run:

    $ {command}
  c                 x    t         j                  j                  |        | j                  j	                  d       y )Nz
          table(
            name.split(/).slice(3:).join(/):label=REPO_NAME,
            name.segment(1):label=PROJECT_ID,
            firstof(mirror_config.url, url):label=URL
          )
        )r   URI_FLAGRemoveFromParserdisplay_info	AddFormat)parsers     lib/surface/source/repos/list.pyArgsz	List.Args+   s/    MM""6* !! #     c                     t        j                         }t        j                         }|j                  ||j                  |j
                        S )zRun the list command.)limit	page_size)r   GetDefaultProjectSource	ListReposr   r   )selfargsressource_handlers       r   RunzList.Run=   sE    

&
&
(C&&(N##4:: $ 9 9r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r	   r	      s     
  "9r   r	   N)r!   
__future__r   r   r   googlecloudsdk.api_lib.sourcer   googlecloudsdk.callioper   ReleaseTracksReleaseTrackGAALPHABETADefaultUniverseOnlyListCommandr	   r#   r   r   <module>r.      s    ! &  ' 4 ( $++1143D3D3I3I %94 %9 %9r   