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mZ d d
lmZ d dlmZ dd Zedkre  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s|   td ||}|d ur|  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   R/var/www/html/assistant/venv/lib/python3.9/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   !