Current File : /home/inlingua/miniconda3/lib/python3.12/site-packages/conda_env/cli/main_remove.py |
# Copyright (C) 2012 Anaconda, Inc
# SPDX-License-Identifier: BSD-3-Clause
"""DEPRECATED: Use `conda.cli.main_env_remove` instead.
CLI implementation for `conda-env remove`.
Removes the specified conda environment.
"""
# Import from conda.cli.main_env_remove since this module is deprecated.
from conda.cli.main_env_remove import configure_parser, execute # noqa
from conda.deprecations import deprecated
deprecated.module("24.9", "25.3", addendum="Use `conda.cli.main_env_remove` instead.")
_help = "Remove an environment"
_description = (
_help
+ """
Removes a provided environment. You must deactivate the existing
environment before you can remove it.
""".lstrip()
)
_example = """
Examples:
conda env remove --name FOO
conda env remove -n FOO
"""