o
    3Ih	                     @   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 Zedkr[e  dS dS )    )ArgumentParser)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sY|   td ||}|  d S )Nzhuggingface-cliz"huggingface-cli <command> [<args>])usagezhuggingface-cli command helpers)helpfunc   )r   add_subparsersr   register_subcommandr   r   r   r   r   r   r	   r   r
   r   r   
parse_argshasattr
print_helpexitr   run)parsercommands_parserargsservice r   h/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/huggingface_hub/commands/huggingface_cli.pymain   s(   













r    __main__N)argparser   %huggingface_hub.commands.delete_cacher   !huggingface_hub.commands.downloadr   huggingface_hub.commands.envr   huggingface_hub.commands.lfsr   huggingface_hub.commands.repor   #huggingface_hub.commands.repo_filesr   #huggingface_hub.commands.scan_cacher	   huggingface_hub.commands.tagr
   huggingface_hub.commands.uploadr   ,huggingface_hub.commands.upload_large_folderr   huggingface_hub.commands.userr    huggingface_hub.commands.versionr   r    __name__r   r   r   r   <module>   s"   
