o
    yAf                     @   sJ   d dl Z d dlmZ d dlmZ d dlmZ d dlmZ de	fddZ
dS )	    N)build_command)dep_command)metadata_command)version_commandreturnc                  C   s   t jddd} |  }ddi}t|| t|| t|| t|| t|  }z|	d}W n t
y>   |   Y dS w |di | dS )	N	hatchlingF)progallow_abbrevmetavar funcr    )argparseArgumentParseradd_subparsersr   r   r   r   vars
parse_argspopKeyError
print_help)parserZ
subparsersdefaultskwargscommandr   r   ;/usr/lib/python3.10/site-packages/hatchling/cli/__init__.pyr   	   s    




r   )r   Zhatchling.cli.buildr   Zhatchling.cli.depr   Zhatchling.cli.metadatar   Zhatchling.cli.versionr   intr   r   r   r   r   <module>   s    