
     	                     n    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  G d dej                        Z
y	)
z5The 'gcloud firebase test ios versions list' command.    )absolute_import)division)unicode_literals)util)basec                   0    e Zd ZdZdddZed        Zd Zy)Listz,List all iOS versions available for testing.z
To list all iOS versions available for testing, run:

  {command}

To filter major versions available for testing, run:

  {command} --filter=majorVersion:12
)DESCRIPTIONEXAMPLESc                 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.
    aC  
          table[box](
            id:label=OS_VERSION_ID:align=center,
            major_version:align=center,
            minor_version:align=center,
            tags.list().color(green=default,red=deprecated,yellow=preview),
            supported_xcode_version_ids.list(undefined="none", separator=', ')
          )
    N)display_info	AddFormatr   URI_FLAGRemoveFromParser)parsers    .lib/surface/firebase/test/ios/versions/list.pyArgsz	List.Args*   s1     !! # 	 	MM""6*    c                 X    t        j                  | j                        }|j                  S )a0  Run the 'gcloud firebase test ios 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 iOS OS versions we want to have printed later.
    )r   GetIosCatalogcontextversions)selfargscatalogs      r   RunzList.Run=   s$       .Gr   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r	   r	      s0    4 D- + +$r   r	   N)r    
__future__r   r   r   $googlecloudsdk.api_lib.firebase.testr   googlecloudsdk.callioper   ListCommandr	   r#   r   r   <module>r(      s+     < &  ' 5 (.4 .r   