:py:mod:`main_vars`
===================
.. py:module:: conda_env.cli.main_vars
.. autoapi-nested-parse::
DEPRECATED: Use `conda.cli.main_env_vars` instead.
CLI implementation for `conda-env config vars`.
Allows for configuring conda-env's vars.
.. py:data:: var_description
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
Interact with environment variables associated with Conda environments
"""
.. raw:: html
.. py:data:: var_example
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
examples:
conda env config vars list -n my_env
conda env config vars set MY_VAR=something OTHER_THING=ohhhhya
conda env config vars unset MY_VAR
"""
.. raw:: html
.. py:data:: list_description
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
List environment variables for a conda environment
"""
.. raw:: html
.. py:data:: list_example
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
examples:
conda env config vars list -n my_env
"""
.. raw:: html
.. py:data:: set_description
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
Set environment variables for a conda environment
"""
.. raw:: html
.. py:data:: set_example
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
example:
conda env config vars set MY_VAR=weee
"""
.. raw:: html
.. py:data:: unset_description
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
Unset environment variables for a conda environment
"""
.. raw:: html
.. py:data:: unset_example
:value: Multiline-String
.. raw:: html
Show Value
.. code-block:: python
"""
example:
conda env config vars unset MY_VAR
"""
.. raw:: html