o
    hn	                     @   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 ZedkrUe  dS dS )    )ArgumentParser)DeleteCacheCommand)DownloadCommand)EnvironmentCommand)LfsCommands)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|dsT|   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   
parse_argshasattr
print_helpexitr   run)parsercommands_parserargsservice r   |/var/www/html/construction_image-detection-poc/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.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    
