o
    !hN                     @   sX   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 	e
ZdefddZdS )    N)Path)Any)get_rich_toolkitreturnc                  C   s   t dd7} t d }| s"| d td|  tdt	
| | d td|  W d	   d	S 1 s?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_dir r   c/var/www/html/pro-man-master/venv/lib/python3.10/site-packages/fastapi_cloud_cli/commands/unlink.pyunlink   s   


"r   )loggingr   pathlibr   typingr   r   fastapi_cloud_cli.utils.clir   	getLogger__name__r   r   r   r   r   r   <module>   s    
