o
    Vh                     @  sD   d dl mZ d dlmZ d dlmZ d dlmZ G dd deZdS )    )annotations)ClassVar)Command)Argumentc                      s^   e Zd ZU dZdZedddddgZded< d	Zd
Z	dddZ
d fddZdddZ  ZS )HelpCommandhelpzDisplays help for a command.command_nameFzThe command name)requireddescriptiondefaultzClassVar[list[Argument]]	argumentszThe <info>{command_name}</info> command displays help for a given command:

  <info>{command_full_name} list</info>

To display the list of available commands, please use the <info>list</info> command.
Ncommandr   returnNonec                 C  s
   || _ d S N)_command)selfr    r   n/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/cleo/commands/help_command.pyset_command!   s   
zHelpCommand.set_commandc                   s   |    t   d S r   )ignore_validation_errorssuper	configure)r   	__class__r   r   r   $   s   zHelpCommand.configureintc                 C  s^   ddl m} | jd u r| jd usJ | j| d| _| d | | j| j d | _dS )Nr   )TextDescriptorr    )	 cleo.descriptors.text_descriptorr   r   _applicationfindargumentlinedescribe_io)r   r   r   r   r   handle)   s   

zHelpCommand.handle)r   r   r   r   )r   r   )r   r   )__name__
__module____qualname__namer
   r   r   __annotations__r   r   r   r   r%   __classcell__r   r   r   r   r   	   s   
 	
r   N)	
__future__r   typingr   cleo.commands.commandr   cleo.io.inputs.argumentr   r   r   r   r   r   <module>   s
    