
                             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diZ	 G d	 d
ej                        Ze	e_        y)z9The 'gcloud firebase test android versions list' command.    )absolute_import)division)unicode_literals)util)baseEXAMPLESzQ
      To list all versions available for testing, run:

        $ {command}
    c                   &    e Zd ZdZed        Zd Zy)Listz3List all Android OS versions available for testing.c                 x    | j                   j                  d       t        j                  j	                  |        y)zMethod called by Calliope to register flags for this command.

    Args:
      parser: An argparse parser used to add arguments that follow this
          command in the CLI. Positional arguments are allowed.
    aP  
          table[box](
            id:label=OS_VERSION_ID:align=center,
            versionString:label=VERSION:align=center,
            codeName,
            apiLevel:align=center,
            releaseDate.date(format='%Y-%m-%d'):align=center,
            tags.list().color(green=default,red=deprecated,yellow=preview)
          )
    N)display_info	AddFormatr   URI_FLAGRemoveFromParser)parsers    2lib/surface/firebase/test/android/versions/list.pyArgsz	List.Args%   s1     !! 	# 		 	MM""6*    c                 X    t        j                  | j                        }|j                  S )a8  Run the 'gcloud firebase test android versions list' command.

    Args:
      args: an argparse namespace. All the arguments that were provided to this
        command invocation (i.e. group and command arguments combined).

    Returns:
      The list of Android OS versions we want to have printed later.
    )r   GetAndroidCatalogcontextversions)selfargscatalogs      r   RunzList.Run9   s$     $$T\\2Gr   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r
   r
   "   s    ;+ +&r   r
   N)r   
__future__r   r   r   $googlecloudsdk.api_lib.firebase.testr   googlecloudsdk.callioper   DETAILED_HELPListCommandr
   detailed_helpr!   r   r   <module>r(      sH     @ &  ' 5 (  "4 "J # r   