
    dH                    b    d dl mZ d dlmZ d dlmZ erd dlmZ d dlm	Z	  G d de          Z
dS )	    )annotations)TYPE_CHECKING)Event)Command)IOc                  T     e Zd ZdZd fdZedd	            Zedd
            Z xZS )ConsoleEventz<
    An event that gives access to the IO of a command.
    commandr   ior   returnNonec                d    t                                                       || _        || _        d S N)super__init___command_io)selfr
   r   	__class__s      ]/home/feoh/.local/pipx/venvs/poetry/lib/python3.11/site-packages/cleo/events/console_event.pyr   zConsoleEvent.__init__   s+        c                    | j         S r   )r   r   s    r   r
   zConsoleEvent.command   s
    }r   c                    | j         S r   )r   r   s    r   r   zConsoleEvent.io   s	    xr   )r
   r   r   r   r   r   )r   r   )r   r   )	__name__
__module____qualname____doc__r   propertyr
   r   __classcell__)r   s   @r   r	   r	      s                  X    X    r   r	   N)
__future__r   typingr   cleo.events.eventr   cleo.commands.commandr   
cleo.io.ior   r	    r   r   <module>r'      s    " " " " " "             # # # # # #  ------    5     r   