o
    VÌh  ã                   @  sT   d dl mZ d dlmZ d dlmZ d dlmZ er d dlmZ G dd„ deƒZ	dS )	é    )Úannotations)ÚTYPE_CHECKING)ÚClassVar)ÚSelfInstallCommand)ÚOptionc                   @  sL   e Zd ZU dZdZdd„ ejD ƒZded< de ¡ › dZ	e
ddd„ƒZdS )ÚSelfSyncCommandz	self synczsSync Poetry's own environment according to the locked packages (incl. addons) required by this Poetry installation.c                 C  s   g | ]	}|j d kr|‘qS )Úsync)Úname)Ú.0Úopt© r   úu/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/poetry/console/commands/self/sync.pyÚ
<listcomp>   s    zSelfSyncCommand.<listcomp>zClassVar[list[Option]]Úoptionsz«The <c1>self sync</c1> command ensures all additional (and no other) packages specified are installed in the current runtime environment.

This is managed in the <comment>z</> file.

You can add more packages using the <c1>self add</c1> command and remove them using the <c1>self remove</c1> command.
ÚreturnÚboolc                 C  s   dS )NTr   )Úselfr   r   r   Ú_with_synchronization!   s   z%SelfSyncCommand._with_synchronizationN)r   r   )Ú__name__Ú
__module__Ú__qualname__r	   Údescriptionr   r   Ú__annotations__Ú!get_default_system_pyproject_fileÚhelpÚpropertyr   r   r   r   r   r      s   
 ÿÿûr   N)
Ú
__future__r   Útypingr   r   Ú$poetry.console.commands.self.installr   Úcleo.io.inputs.optionr   r   r   r   r   r   Ú<module>   s    