
    h                     R    S r SSKJr  SSKJr  SSKJr  SSKJr  SrSrSr	  SS
 jr
g	)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                    U (       d  [        S5      e[        R                  U 5      n[        R                  U 5      nU(       a0  U[        R                  U5      -  nU[        R                  U5      -  n[
        R                  " XUS9$ )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      su    * 

7
88 
		^	,$


n
-%##K00D	$$[11E	6u	EE    )FN)__doc__
__future__r   r   r   googlecloudsdk.callioper   r   r   r   r    r   r   <module>r      s4     7 &  ' (OA(  &+*. Fr   