
    $TXg                     h    d Z ddlmZmZmZ ddlmZ dedefdZ edd	d
      dededefd       Z	y)zUCLI implementation for `conda-env remove`.

Removes the specified conda environment.
    )ArgumentParser	Namespace_SubParsersAction   )
deprecatedsub_parsersreturnc                     ddl m} ddlm}m}m} d} |d| d      } |d      } | j                  	 d|||d	|}	 ||	        ||	        ||	       |	j                  d
dd d d d d d g dd d       |	S )Nr   )dals   )add_output_and_prompt_optionsadd_parser_prefixadd_parser_solverzRemove an environment.z	
        z

        Removes a provided environment.  You must deactivate the existing
        environment before you can remove it.

        zj
        Examples::

            conda env remove --name FOO
            conda env remove -n FOO

        )helpdescriptionepilogzconda.cli.main_remove.executeTF)funcallchannelfeaturesoverride_channels	use_local	use_cacheofflinepackage_namesforcepinnedkeep_env)remove)
auxlib.ishr   helpersr   r   r   
add_parserset_defaults)
r   kwargsr   r   r   r   summaryr   r   ps
             9lib/python3.12/site-packages/conda/cli/main_env_remove.pyconfigure_parserr(      s    !  'G			 		K 	F 				
 	A aa!!$NN,   H    z25.3z25.9z,Use `conda.cli.main_remove.execute` instead.)addendumargsparserc                 "    ddl m}  || |       y)Nr   )executer   )cli.main_remover.   )r+   r,   r   s      r'   r.   r.   K   s    3
4r)   N)
__doc__argparser   r   r   deprecationsr   r(   intr.    r)   r'   <module>r5      sb   
  &7"3 7. 7t FF%ST) ^   Ur)   