
                             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                         G d d	ej                               Zy
)z*gcloud bigtable emulator env_init command.    )absolute_import)division)unicode_literals)base)bigtable_util)utilc                   .    e Zd ZdZddiZed        Zd Zy)EnvInitzHPrint the commands required to export Bigtable emulator's env variables.EXAMPLESzn          To print the env variables exports for a Bigtable emulator, run:

            $ {command}
          c                 :    | j                   j                  d       y )Nzconfig[export])display_info	AddFormat)parsers    *lib/surface/emulators/bigtable/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
      s/    P  - 4 4&r   r
   N)r   
__future__r   r   r   googlecloudsdk.callioper   $googlecloudsdk.command_lib.emulatorsr   r   ReleaseTracksReleaseTrackALPHABETACommandr
   r    r   r   <module>r)      sc    1 &  ' ( > 5 D%%++T->->-C-CD&dll & E&r   