
                         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	)
z The `gcloud meta debug` command.    )absolute_import)division)unicode_literals)base)debugc                   &    e Zd ZdZed        Zd Zy)Debugan  Run an interactive debug console with the Cloud SDK libraries loaded.

  This command runs an interactive console with the Cloud SDK libraries loaded.

  It's useful for:

  * Manually testing out an API.
  * Exploring available Cloud SDK core libraries.
  * Debugging specific problems.

  It comes with many utilities pre-loaded in the environment:

  * All API clients loaded with one command (`LoadApis()`). Then, for instance,
    `appengine` refers to the App Engine API client.
  * Many common Cloud SDK imports pre-imported (e.g. core.util.files,
    console_io, properties).

  Use `dir()` to explore them all.
  c                 x    | j                  dt        t        j                  j	                               dd       y )Nz--modepythonz!The debug console mode to run in.)choicesdefaulthelp)add_argumentsortedr   CONSOLESkeys)parsers    lib/surface/meta/debug.pyArgsz
Debug.Args.   s1    
&!4!4!670  2    c                 F    t        j                  |j                             y )N)r   r   mode)selfargss     r   Runz	Debug.Run4   s    	NN499r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r	   r	      s     ( 2 2
 r   r	   N)r   
__future__r   r   r   googlecloudsdk.callioper   googlecloudsdk.command_lib.metar   Commandr	   r!   r   r   <module>r&      s)    ' &  ' ( 1 DLL  r   