doot.control.loaders.plugin
Functions
|
Make an EntryPoint |
Classes
Load doot plugins from the system, to choose from with doot.toml or cli args |
Module Contents
- doot.control.loaders.plugin.build_entry_point( ) importlib.metadata.EntryPoint[source]
Make an EntryPoint
- Parameters:
- Return type:
- class doot.control.loaders.plugin.PluginLoader[source]
Load doot plugins from the system, to choose from with doot.toml or cli args TODO singleton?
- setup(
- extra_config: jgdv.Maybe[dict | jgdv.structs.chainguard.ChainGuard] = None,
- Parameters:
extra_config (jgdv.Maybe[dict | jgdv.structs.chainguard.ChainGuard])
- Return type:
Self
- load() jgdv.structs.chainguard.ChainGuard[importlib.metadata.EntryPoint][source]
use entry_points(group=”doot”) add to the config ChainGuard
- Return type:
jgdv.structs.chainguard.ChainGuard[importlib.metadata.EntryPoint]