
    !
                         S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSKJr  SS	KJr   " S
 S\R                  5      rg)z(Command to describe named configuration.    )absolute_import)division)unicode_literals)base)
completers)
properties)named_configs)properties_filec                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Describe   z:Describes a named configuration by listing its properties.z          {description}

          See `gcloud topic configurations` for an overview of named
          configurations.
          z          To describe an existing configuration named `my-config`, run:

            $ {command} my-config

          This is similar to:

            $ gcloud config configurations activate my-config

            $ gcloud config list
          )DESCRIPTIONEXAMPLESc                 d    U R                  S[        R                  SS9  U R                  SSSS9  g)	zAdds args for this command.configuration_namez%Name of the configuration to describe)	completerhelpz--all
store_truez#Include unset properties in output.)actionr   N)add_argumentr   NamedConfigCompleter)parsers    -lib/surface/config/configurations/describe.pyArgsDescribe.Args4   sC     114  6 2  4    c                    [         R                  R                  SS9nUR                  UR                  S 5      nU(       d/  [         R
                  " SR                  UR                  5      5      eUR                  UR                  [        R                  R                  UR                  [        R                  " UR                  /5      SS9S.$ )NT)include_none_configz'The configuration [{0}] does not exist.)
list_unsetr
   only_file_contents)name	is_activer   )r	   ConfigurationStore
AllConfigsgetr   NamedConfigErrorformatr!   r"   r   VALUES	AllValuesallr
   PropertiesFile	file_path)selfargsall_configsconfigs       r   RunDescribe.Run?   s    22==  > "K__T44d;F**
36$))*, ,
 %% ''11xx+::F<L<L;MN# 2 % r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r1   __static_attributes__r3   r   r   r   r      s/    B
-( 4 4r   r   N)r8   
__future__r   r   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.configr   googlecloudsdk.corer   "googlecloudsdk.core.configurationsr	   r
   DescribeCommandr   r3   r   r   <module>rB      s4     / &  ' ( 8 * < >2t## 2r   