
    h                     P    d Z ddlmZ ddlmZ ddlmZ ddlmZ dZdZdZ		 	 dd
Z
y	)z0GCloud Command/Group/Flag Deprecation Utilities.    )absolute_import)division)unicode_literals)basez>This command is deprecated and will be removed in version {0}.z0This command has been removed as of version {0}.z Use `{0}` instead.Nc                    | st        d      t        j                  |       }t        j                  |       }|r0|t        j                  |      z  }|t        j                  |      z  }t        j                  |||      S )a  Decorator that marks a GCloud command as deprecated.

  Args:
      remove_version: string, The GCloud sdk version where this command will be
      marked as removed.

      remove: boolean, True if the command should be removed in underlying
      base.Deprecate decorator, False if it should only print a warning

      alt_command: string, optional alternative command to use in place of
      deprecated command

  Raises:
      ValueError: If remove version is missing

  Returns:
    A modified version of the provided class.
  z Valid remove version is required)
is_removedwarningerror)
ValueError_WARNING_MSGformat_REMOVED_MSG_COMMAND_ALT_MSGr   	Deprecate)remove_versionremovealt_commandwarnr
   s        3lib/googlecloudsdk/command_lib/deprecation_utils.pyDeprecateCommandAtVersionr      sw    * 

7
88 
		^	,$


n
-%##K00D	$$[11E	64u	EE    )FN)__doc__
__future__r   r   r   googlecloudsdk.callioper   r   r   r   r    r   r   <module>r      s4     7 &  ' (OA(  &+*. Fr   