o
    é0 i	  ã                   @   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mZ d d
lmZ d dlmZ dd„ ZedkrQeƒ  dS dS )é    )ÚArgumentParser)ÚAuthCommands)ÚCacheCommand)ÚDownloadCommand)ÚJobsCommands)ÚLfsCommands)ÚRepoCommands)ÚRepoFilesCommand)ÚEnvironmentCommandÚVersionCommand)ÚUploadCommand)ÚUploadLargeFolderCommandc                  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 urc| ¡  d S d S )NZhfzhf <command> [<args>])Úusagezhf 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   úb/home/app/PaddleOCR-VL-test/.venv_paddleocr/lib/python3.10/site-packages/huggingface_hub/cli/hf.pyÚmain   s*   












ÿr   Ú__main__N)Úargparser   Zhuggingface_hub.cli.authr   Zhuggingface_hub.cli.cacher   Zhuggingface_hub.cli.downloadr   Zhuggingface_hub.cli.jobsr   Zhuggingface_hub.cli.lfsr   Zhuggingface_hub.cli.repor   Zhuggingface_hub.cli.repo_filesr	   Zhuggingface_hub.cli.systemr
   r   Zhuggingface_hub.cli.uploadr   Z'huggingface_hub.cli.upload_large_folderr   r   Ú__name__r   r   r   r   Ú<module>   s   !
ÿ