
    rh>                     N    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	y
)z]Contains command to print information about the environment.

Usage:
    huggingface-cli env
    )_SubParsersAction   )dump_environment_info   )BaseHuggingfaceCLICommand)show_deprecation_warningc                   0    e Zd Zd Zedefd       ZddZy)EnvironmentCommandc                     || _         y )N)args)selfr   s     o/var/www/html/ai-insurance-compliance-backend/venv/lib/python3.12/site-packages/huggingface_hub/commands/env.py__init__zEnvironmentCommand.__init__   s	    	    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*    &&u3]&^
%78r   Nc                 0    t        dd       t                y )Nzhuggingface-cli envzhf env)r   r   )r   s    r   runzEnvironmentCommand.run$   s     !6Ar   )returnN)__name__
__module____qualname__r   staticmethodr   r   r    r   r   r
   r
      s(     9$5 9 9 r   r
   N)
__doc__argparser   utilsr    r   
_cli_utilsr   r
   r!   r   r   <module>r'      s%    ' ) ' 0 2  r   