
    \                         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 ej                   G d dej                               Zy	)
z:Command to monitor a currently running transfer operation.    )absolute_import)division)unicode_literals)operations_util)basec                   0    e Zd ZdZdddZed        Zd Zy)Monitorz5Track progress in real time for a transfer operation.zB      Track progress in real time for a transfer operation.
      z      To monitor an operation, run:

        $ {command} OPERATION-NAME

      If you're looking for specific error details, use the
      "operations describe" command:

        $ {parent_command} describe OPERATION-NAME
      )DESCRIPTIONEXAMPLESc                 *    | j                  dd       y )Nnamez.The name of the operation you want to monitor.)help)add_argument)parsers    *lib/surface/transfer/operations/monitor.pyArgszMonitor.Args/   s    
E  G    c                 B    t        j                  |j                         y )N)r   display_monitoring_viewr   )selfargss     r   RunzMonitor.Run4   s    ++DII6r   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r	   r	      s1    =
	
-$ G G7r   r	   N)r   
__future__r   r   r   googlecloudsdk.api_lib.transferr   googlecloudsdk.callioper   UniverseCompatibleCommandr	   r   r   r   <module>r%      s?    A &  ' ; ( 7dll 7 7r   