
    l:ip                     B    d dl Z d dlmZmZ  edd      d        Zd Zy)    N)replace_argumentfor_appyarn   )at_leastc                     d| j                   v S )NzDid you mean)output)commands    O/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/yarn_alias.pymatchr      s    W^^++    c                     | j                   d   }t        j                  d| j                        d   }t	        | j
                  ||      S )Nr   z'Did you mean [`"](?:yarn )?([^`"]*)[`"]r   )script_partsrefindallr	   r   script)r
   brokenfixs      r   get_new_commandr   
   s@    !!!$F
**?
PQR
SCGNNFC88r   )r   thefuck.utilsr   r   r   r    r   r   <module>r      s+    	 3 	!, ,9r   