
                             S r SSKJr  SSKJr  SSKJr  SSKJr  \R                  " \R                  R                  \R                  R                  5       " S S\R                  5      5       rg)	z'gcloud bigtable emulator start command.    )arg_parsers)base)bigtable_util)utilc                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	Start   zQStart a local Bigtable emulator.

This command starts a local Bigtable emulator.
EXAMPLESzV          To start a local Bigtable emulator, run:

            $ {command}
          c                 *    U R                  SSS SS9  g )Nz--host-portFc                 >    [         R                  R                  U SS9$ NT)ipv6_enabled)r   HostPortParse)args    'lib/surface/emulators/bigtable/start.py<lambda>Start.Args.<locals>.<lambda>,   s    --33Cd3K    zYThe host:port to which the emulator should be bound. The default value is localhost:8086.)requiredtypehelp)add_argument)parsers    r   Args
Start.Args'   s#    
K#	  $r   c                     UR                   (       dE  [        R                  R                  [        R
                  " [        R                  5      SS9Ul         [        R                  " U5        g r   )		host_portr   r   r   r   GetHostPortr   BIGTABLEr   )selfargss     r   Run	Start.Run1   sO    >>"++11$2B2B

 
 3"04 2 6dn r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r#   __static_attributes__r%   r   r   r   r      s1      - $ $r   r   N)r*   googlecloudsdk.callioper   r   $googlecloudsdk.command_lib.emulatorsr   r   ReleaseTracksReleaseTrackALPHABETACommandr   r%   r   r   <module>r5      s]    . 0 ( > 5 D%%++T->->-C-CDDLL  Er   