
                             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lm	Z	  ej                  ej                  j                  ej                  j                  ej                  j                         G d d	ej                               Zy
)z*gcloud emulators spanner env_init command.    )absolute_import)division)unicode_literals)base)spanner_util)utilc                   .    e Zd ZdZddiZed        Zd Zy)EnvInitzGPrint the commands required to export Spanner emulator's env variables.EXAMPLESzm          To print the env variables exports for a Spanner emulator, run:

            $ {command}
          c                 :    | j                   j                  d       y )Nzconfig[export])display_info	AddFormat)parsers    )lib/surface/emulators/spanner/env_init.pyArgszEnvInit.Args(   s    
!!"23    c                 T    t        j                         }t        j                  |      S )N)r   
GetDataDirr   ReadEnvYaml)selfargsdata_dirs      r   RunzEnvInit.Run,   s!    &&(HH%%r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r
   r
      s2     P - 4 4&r   r
   N)r   
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.emulatorsr   r   ReleaseTracksReleaseTrackALPHABETAGACommandr
   r    r   r   <module>r*      ss    1 &  ' ( = 5 D%%++T->->-C-C%%((*&dll &*&r   