
    	              	       l   S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  SSKJ	r	  SSK
Jr  SS	KJr  SS
KJr  SSKrSSS.r\	R"                  " \	R$                  R&                  \	R$                  R(                  5       " S S\R*                  " \R,                  \	R.                  5      5      5       r\\l        g)z+'Bare Metal Solution SSH keys list command.    )absolute_import)division)unicode_literalsN)	BmsClient)base)flags)log)
propertieszR
          List the SSH keys added to the project in Bare Metal Solution.
        zV
          To list all SSH keys within the project, run:

            $ {command}
    )DESCRIPTIONEXAMPLESc                   4    \ rS rSrSr\S 5       rS rS rSr	g)List,   z>List the SSH keys added to the project in Bare Metal Solution.c                     [         R                  R                  U 5        [         R                  R                  U 5        U R                  R                  S5        g)z Register flags for this command.zAtable(name.segment(-1):label=NAME,name.segment(-5):label=PROJECT)N)r   FILTER_FLAG_NO_SORTBY_DOCAddToParserLIMIT_FLAG_NO_SORTBY_DOCdisplay_info	AddFormat)parsers     lib/surface/bms/ssh_keys/list.pyArgs	List.Args0   sG     
##//7	""..v6
 !!	*+    c                     [        5       n[        R                  R                  R                  R                  SS9nUR                  X1R                  S9$ )NT)required)project_resourcelimit)r   r
   VALUEScoreprojectGetListSshKeysr   )selfargsclientr!   s       r   RunList.Run=   sF    [F$$,,00$0?GwjjIIr   c                 R    U(       d   [         R                  R                  S5        gg)zCalled after resources are displayed if the default format was used.

Args:
  resources_were_displayed: True if resources were displayed.
zListed 0 items.N)r	   statusPrint)r$   resources_were_displayeds     r   EpilogList.EpilogB   s     $	jj() $r    N)
__name__
__module____qualname____firstlineno____doc__staticmethodr   r'   r-   __static_attributes__r/   r   r   r   r   ,   s"    F
+ 
+J
*r   r   )r4   
__future__r   r   r   abc%googlecloudsdk.api_lib.bms.bms_clientr   googlecloudsdk.callioper   googlecloudsdk.command_lib.bmsr   googlecloudsdk.corer	   r
   sixDETAILED_HELPReleaseTracksReleaseTrackALPHAGAwith_metaclassABCMetaCacheCommandr   detailed_helpr/   r   r   <module>rG      s    2 &  ' 
 ; ( 0 # * 
		 D%%++T->->-A-AB*3ckk4+<+<= * C*> # r   