
    tniN                     n    d dl Z d dlZd dlmZ d dlmZ d dlZd dlmZ  e j	        e
          ZdefdZdS )    N)Path)Any)get_rich_toolkitreturnc                     t          d          5 } t          j                    dz  }|                                sF|                     d           t
                              d|            t          j        d          t          j
        |           |                     d           t
                              d|            d	d	d	           d	S # 1 swxY w Y   d	S )
z;
    Unlink by deleting the `.fastapicloud` directory.
    T)minimalz.fastapicloudz>No FastAPI Cloud configuration found in the current directory.z#Configuration directory not found:    u@   FastAPI Cloud configuration has been unlinked successfully! 🚀z!Deleted configuration directory: N)r   r   cwdexistsprintloggerdebugtyperExitshutilrmtree)toolkit
config_dirs     ^/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/fastapi_cloud_cli/commands/unlink.pyunlinkr      s/    
$	'	'	' G7XZZ/1
  "" 	 MMP   LLKzKKLLL*Q--j!!!XYYYEEEFFFG G G G G G G G G G G G G G G G G Gs   B7CCC)loggingr   pathlibr   typingr   r   fastapi_cloud_cli.utils.clir   	getLogger__name__r   r        r   <module>r      s                   8 8 8 8 8 8		8	$	$G G G G G G Gr   