
                             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
\R                  5      rg)z&Command to rename named configuration.    )absolute_import)division)unicode_literals)base)
completers)log)named_configsc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Rename   zRenames a named configuration.z          {description}

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

            $ {command} my-config --new-name=new-config
          )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 rename)	completerhelpz
--new-nameTz,Specifies the new name of the configuration.)requiredr   N)add_argumentr   NamedConfigCompleter)parsers    +lib/surface/config/configurations/rename.pyArgsRename.Args-   sD     112  4 ;  =    c                    [         R                  R                  UR                  UR                  5        [
        R                  R                  SR                  UR                  UR                  5      5        UR                  $ )NzRenamed [{0}] to be [{1}].)	r	   ConfigurationStoreRenameConfigr   new_namer   statusPrintformat)selfargss     r   Run
Rename.Run9   sc    $$11$2I2I26--A JJ1880 1 ==r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r$   __static_attributes__r&   r   r   r   r      s/    &- 	= 	=r   r   N)r+   
__future__r   r   r   googlecloudsdk.callioper   !googlecloudsdk.command_lib.configr   googlecloudsdk.corer   "googlecloudsdk.core.configurationsr	   SilentCommandr   r&   r   r   <module>r5      s1     - &  ' ( 8 # <%T %r   