
    ,i>                         d dl Z d dlZddlmZ ddlmZ  ej                  dd       ej                  dd	d
      deddfd              Z	y)    N   )config)ensure_cachedfetchzDownload all required binaries.)
short_helpz--forceTzJDownload all binaries regardless of if they are already downloaded or not.)is_flaghelpforcereturnc                     | r#t        j                  t        j                         t	               j
                  }t        j                  dt        j                  t        |      d              y)z,Ensures all required binaries are available.zDownloaded binaries to green)fgN)
shutilrmtreer   binary_cache_dirr   	cache_dirclickechostylestr)r
   	directorys     ^/var/www/html/langgraph-service/venv/lib/python3.12/site-packages/prisma/cli/commands/fetch.pyclir   	   sJ     f--.))I	JJ(S^)P(QRS    )
r   r    r   
cli.prismar   commandoptionboolr    r   r   <module>r!      sb       ' w#DE	U
Tt T T FTr   