Skip to main content
Glama

Python Dependency Manager Companion

by KemingHe
pre_commands.rstβ€’731 B
============ Pre-commands ============ Conda commands can be extended with the ``conda_pre_commands`` plugin hook. By specifying the set of commands you would like to use in the ``run_for`` configuration option, you can execute code via the ``action`` option before these commands are run. The functions are provided a ``command`` argument representing the name of the command currently running. If you would like to target ``conda env`` commands, prefix the command name with ``env_``. For example, ``conda env list`` would be passed to ``run_for`` as ``env_list``. .. autoapiclass:: conda.plugins.types.CondaPreCommand :members: :undoc-members: .. autoapifunction:: conda.plugins.hookspec.CondaSpecs.conda_pre_commands

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KemingHe/python-dependency-manager-companion-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server