Ë
    -Œ:jÕ  ã                   ó\   — d Z ddlZddlmZ ddlmZ ddlmZmZ ddl	m
Z
 dd	„Zdd
„Zdd„Zy)zIContains commands to print information about the environment and version.é    N)Ú__version__é   ©Údump_environment_infoé   )Ú_fetch_latest_pypi_versionÚ
run_update)Úoutc                  ó   — t        «        y)z(Print information about the environment.Nr   © ó    ú\/var/www/html/tokenscope/api/venv/lib/python3.12/site-packages/huggingface_hub/cli/system.pyÚenvr      s   € äÕr   c                  ó:   — t        j                  dt        ¬«       y)z'Print information about the hf version.z
hf version)ÚversionN)r
   Úresultr   r   r   r   r   r      s   € ä‡J�Jˆ|¤[Ö1r   c                  óB  — t        j                  dt        › �«       t        j                  d«       t        d«      } | �'t        | k(  rt        j                  dt        › d�«       yt	        «       }|dk7  rt        j                  |¬«      ‚t        j                  d	«       y)
z*Update the `hf` CLI to the latest version.zCurrent version: z)Checking for updates to latest version...Úhuggingface_hubNzhf is up to date (ú)r   )Úcodez}You may also want to run `hf skills update` to refresh any installed skills so your AI agent sees the latest command surface.)r
   Útextr   r   r	   ÚtyperÚExitÚhint)Úlatest_versionÚ
returncodes     r   Úupdater   #   s‚   € ä‡H�HÐ ¤ Ð.Ô/Ü‡H�HÐ8Ô9Ü/Ð0AÓB€NØÐ!¤k°^Ò&CÜ�‰Ð%¤k ]°!Ð4Ô5Øä“€JØ�Q‚Ü�j‰j˜jÔ)Ð)Ü‡H�Hð	<õr   )ÚreturnN)Ú__doc__r   r   r   Úutilsr   Ú
_cli_utilsr   r	   Ú_outputr
   r   r   r   r   r   r   ú<module>r#      s)   ðñ Pã å 'å )ß >Ý óó
2ô
r   