o
    Gi                     @   sN   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   )CustomBlocksCommand)EnvironmentCommand)FP16SafetensorsCommandc                  C   sn   t ddd} | jdd}t| t| t| |  }t|ds,|   t	d |
|}|  d S )NzDiffusers CLI toolz diffusers-cli <command> [<args>])usagezdiffusers-cli command helpers)helpfuncr   )r   add_subparsersr   register_subcommandr   r   
parse_argshasattr
print_helpexitr	   run)parsercommands_parserargsservice r   T/home/ubuntu/.local/lib/python3.10/site-packages/diffusers/commands/diffusers_cli.pymain   s   




r   __main__N)
argparser   custom_blocksr   envr   fp16_safetensorsr   r   __name__r   r   r   r   <module>   s   
