a
    ¬Àh^
  ã                   @   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lmZ d dlmZ dd„ Zedkr¾eƒ  dS )é    )ÚArgumentParser)Úshow_deprecation_warning)ÚDeleteCacheCommand)ÚDownloadCommand)ÚEnvironmentCommand)ÚLfsCommands)ÚRepoCommands)Ú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 |¡ |  ¡ }t|dƒs¼tddƒ |  ¡  tdƒ | |¡}| ¡  d S )	Nzhuggingface-cliz"huggingface-cli <command> [<args>])Úusagezhuggingface-cli command helpers)ÚhelpÚfuncZhfé   )r   Úadd_subparsersr   Zregister_subcommandr   r	   r   r   r   r   r
   r   r   r   r   Ú
parse_argsÚhasattrr   Ú
print_helpÚexitr   Úrun)ÚparserZcommands_parserÚargsZservice© r   úd/var/www/html/assistant/venv/lib/python3.9/site-packages/huggingface_hub/commands/huggingface_cli.pyÚmain    s*    














r   Ú__main__N)Úargparser   Z#huggingface_hub.commands._cli_utilsr   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.repor   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     