Ë
    çÍ:j«  ã                   ód   — d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d„ d	e«      Z	 G d
„ de«      Z
y)zlContains commands to print information about the environment and version.

Usage:
    hf env
    hf version
é    )Ú_SubParsersAction)Ú__version__é   ©Údump_environment_infoé   )ÚBaseHuggingfaceCLICommandc                   ó0   — e Zd Zd„ Zedefd„«       Zdd„Zy)ÚEnvironmentCommandc                 ó   — || _         y ©N©Úargs©Úselfr   s     úo/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/huggingface_hub/cli/system.pyÚ__init__zEnvironmentCommand.__init__   ó	   € Øˆ�	ó    Úparserc                 óV   — | j                  dd¬«      }|j                  t        ¬«       y )NÚenvz(Print information about the environment.©Úhelp©Úfunc)Ú
add_parserÚset_defaultsr   )r   Ú
env_parsers     r   Úregister_subcommandz&EnvironmentCommand.register_subcommand!   s*   € à×&Ñ& uÐ3]Ð&Ó^ˆ
Ø×ÑÔ%7ÐÕ8r   Nc                 ó   — t        «        y r   r   ©r   s    r   ÚrunzEnvironmentCommand.run&   s   € ÜÕr   ©ÚreturnN©Ú__name__Ú
__module__Ú__qualname__r   Ústaticmethodr   r    r#   © r   r   r   r      s(   „ òð ð9Ð$5ò 9ó ð9ô r   r   c                   ó0   — e Zd Zd„ Zedefd„«       Zdd„Zy)ÚVersionCommandc                 ó   — || _         y r   r   r   s     r   r   zVersionCommand.__init__+   r   r   r   c                 óV   — | j                  dd¬«      }|j                  t        ¬«       y )NÚversionz'Print information about the hf version.r   r   )r   r   r-   )r   Úversion_parsers     r   r    z"VersionCommand.register_subcommand.   s)   € à×*Ñ*¨9Ð;dÐ*ÓeˆØ×#Ñ#¬Ð#Õ8r   Nc                 ó(   — t        dt        › �«       y )Nzhuggingface_hub version: )Úprintr   r"   s    r   r#   zVersionCommand.run3   s   € ÜÐ)¬+¨Ð7Õ8r   r$   r&   r+   r   r   r-   r-   *   s(   „ òð ð9Ð$5ò 9ó ð9ô9r   r-   N)Ú__doc__Úargparser   Úhuggingface_hubr   Úutilsr   Ú r	   r   r-   r+   r   r   ú<module>r9      s2   ðñõ 'å 'å )Ý 'ô
 Ð2ô 
 ô
9Ð.õ 
9r   