Add better integration of settings plugin hook into conda config
#13661
Labels
backlog
issue has been triaged but has not been earmarked for any upcoming release
source::anaconda
created by members of Anaconda, Inc.
spike
issue is for doing research work or prototyping; outcome is optional and not required
type::feature
request for a new feature or capability
Checklist
What is the idea?
The newly created settings plugin hook allows plugin authors to create their own settings which will then appear alongside other conda settings on the context object under "plugins" (e.g.
conda.plugins.conda_plugin_setting
).On the initial implementation, integration into
conda config
was overlooked. See:for more information.
Why is this needed?
In order to provide a better user experience, we want it to be possible to set and display settings via the
conda config
command.What should happen?
Scenario one: read configuration
If I have the following defined as settings:
I want to be able to run:
and this value in the output
Scenario two: write a setting
If a plugin has defined the setting
conda_plugin_setting
as a string parameter, I should be able to run the following command to set it:If a plugin has defined the setting
conda_plugin_setting
as a list of strings, I should be able to run the following command to set it:Scenario three: retrieving the description
If a plugin has defined the setting
conda_plugin_setting
and has added a description for it, I should be able to read it by running the following command:If a plugin has defined the setting
conda_plugin_setting
and has added a description for it, I should be able to see it listed when I run:The text was updated successfully, but these errors were encountered: