
                         <   S 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J	r	  SSK
Jr  SS	K
Jr  S
r\R                  " \R                   R"                  \R                   R$                  \R                   R&                  5       " S S\R(                  5      5       rg)z=Command to list all clusters in the Anthos on bare metal API.    )absolute_import)division)unicode_literals)bare_metal_clusters)base)parser_arguments)cluster_flags)	constantsz_
To lists all clusters managed in location ``us-west1'', run:

$ {command} --location=us-west1
c                   R    \ rS rSrSrS\0r\S\R                  4S j5       r
S rSrg)	List#   z#List Anthos clusters on bare metal.EXAMPLESparserc                     [         R                  " U SS9  U R                  R                  [        R
                  5        g)z4Gathers command line arguments for the list command.zto list)verbN)flagsAddLocationResourceArgdisplay_info	AddFormatr
   BARE_METAL_CLUSTERS_FORMAT)r   s    1lib/surface/container/bare_metal/clusters/list.pyArgs	List.Args*   s.     
  i8
!!)"F"FG    c                 N    [         R                  " 5       nUR                  U5      $ )z}Runs the list command.

Args:
  args: Arguments received from command line.

Returns:
  The resources listed by the service.
)r   ClustersClientr   )selfargsclients      r   RunList.Run0   s!     !//1F;;tr    N)__name__
__module____qualname____firstlineno____doc__	_EXAMPLESdetailed_helpstaticmethodr   ArgumentInterceptorr   r    __static_attributes__r"   r   r   r   r   #   s9     ,y)-H#77 H H

r   r   N)r'   
__future__r   r   r   *googlecloudsdk.api_lib.container.gkeonpremr   googlecloudsdk.callioper   r   /googlecloudsdk.command_lib.container.bare_metalr	   r   r
   r(   ReleaseTracksReleaseTrackALPHABETAGAListCommandr   r"   r   r   <module>r7      s    D &  ' J ( 4 R E	 T..33T5F5F5I5I4 r   