a
    
d                     @   sb   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)DeleteCacheCommand)EnvironmentCommand)LfsCommands)ScanCacheCommand)UserCommandsc                  C   s   t ddd} | jdd}t| t| t| t| t| |  }t	|dsl| 
  td ||}|  d S )Nzhuggingface-cliz"huggingface-cli <command> [<args>])usagezhuggingface-cli command helpers)helpfunc   )r   add_subparsersr   Zregister_subcommandr   r   r   r   
parse_argshasattr
print_helpexitr
   run)parserZcommands_parserargsZservice r   q/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/huggingface_hub/commands/huggingface_cli.pymain   s    






r   __main__N)argparser   Z%huggingface_hub.commands.delete_cacher   Zhuggingface_hub.commands.envr   Zhuggingface_hub.commands.lfsr   Z#huggingface_hub.commands.scan_cacher   Zhuggingface_hub.commands.userr   r   __name__r   r   r   r   <module>   s   