o
    vZŽhn	  ã                   @   s®   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	lmZ d d
lmZ d dlmZ d dlmZ dd„ ZedkrUeƒ  dS dS )é    )ÚArgumentParser)ÚDeleteCacheCommand)ÚDownloadCommand)ÚEnvironmentCommand)ÚLfsCommands)ÚRepoFilesCommand)ÚScanCacheCommand)ÚTagCommands)ÚUploadCommand)ÚUploadLargeFolderCommand)ÚUserCommands)ÚVersionCommandc                  C   s¾   t ddd} | jdd}t |¡ t |¡ t |¡ t |¡ t |¡ t |¡ t	 |¡ t
 |¡ t |¡ t |¡ t |¡ |  ¡ }t|dƒsT|  ¡  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   r   r	   r   r   Ú
parse_argsÚhasattrÚ
print_helpÚexitr   Úrun)ÚparserZcommands_parserÚargsZservice© r   úW/var/www/auris/lib/python3.10/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.repo_filesr   Z#huggingface_hub.commands.scan_cacher   Zhuggingface_hub.commands.tagr	   Zhuggingface_hub.commands.uploadr
   Z,huggingface_hub.commands.upload_large_folderr   Zhuggingface_hub.commands.userr   Z huggingface_hub.commands.versionr   r   Ú__name__r   r   r   r   Ú<module>   s    
ÿ