o
    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rae  dS 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funchf   )r   add_subparsersr   register_subcommandr   r	   r   r   r   r   r
   r   r   r   r   
parse_argshasattrr   
print_helpexitr   run)parsercommands_parserargsservice r    e/var/www/Befach/backend/venv/lib/python3.10/site-packages/huggingface_hub/commands/huggingface_cli.pymain    s*   














r"   __main__N)argparser   #huggingface_hub.commands._cli_utilsr   %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$    
