U
    Å9%e„  ã                   @   sz   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	 d dl
mZ d dlmZ d dlmZ d	d
„ Zedkrveƒ  dS )é    )ÚArgumentParser)ÚDeleteCacheCommand)ÚDownloadCommand)ÚEnvironmentCommand)ÚLfsCommands)ÚScanCacheCommand)ÚUploadCommand)ÚUserCommandsc                  C   s–   t ddd} | jdd}t |¡ t |¡ t |¡ t |¡ t |¡ t |¡ t	 |¡ |  
¡ }t|dƒs€|  ¡  tdƒ | |¡}| ¡  d S )Nzhuggingface-cliz"huggingface-cli <command> [<args>])Úusagezhuggingface-cli command helpers)ÚhelpÚfuncé   )r   Úadd_subparsersr   Zregister_subcommandr	   r   r   r   r   r   Ú
parse_argsÚhasattrÚ
print_helpÚexitr   Úrun)ÚparserZcommands_parserÚargsZservice© r   úg/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/huggingface_hub/commands/huggingface_cli.pyÚmain   s    








r   Ú__main__N)Úargparser   Z%huggingface_hub.commands.delete_cacher   Z!huggingface_hub.commands.downloadr   Zhuggingface_hub.commands.envr   Zhuggingface_hub.commands.lfsr   Z#huggingface_hub.commands.scan_cacher   Zhuggingface_hub.commands.uploadr   Zhuggingface_hub.commands.userr	   r   Ú__name__r   r   r   r   Ú<module>   s   