
    l:i                     F    d dl Z d dlmZmZ dZdZ ed      d        Zd Zy)    N)for_appreplace_argumentz1(?<=Invalid choice: ')(.*)(?=', maybe you meant:)z^\s*\*\s(.*)awsc                 >    d| j                   v xr d| j                   v S )Nzusage:zmaybe you meant:)output)commands    L/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/aws_cli.pymatchr
   	   s     w~~%N*<*NN    c                 $   t        j                  t        | j                        j	                  d      }t        j
                  t        | j                  t         j                        }|D cg c]  }t        | j                  ||       c}S c c}w )Nr   )flags)
researchINVALID_CHOICEr   groupfindallOPTIONS	MULTILINEr   script)r   mistakeoptionsos       r	   get_new_commandr      s]    ii7==a@Gjj'..EGBIJQW^^Wa8JJJs   ,B)r   thefuck.utilsr   r   r   r   r
   r    r   r	   <module>r      s5    	 3D
 	O OKr   