doot.control.loaders.plugin

Functions

build_entry_point(→ importlib.metadata.EntryPoint)

Make an EntryPoint

Classes

PluginLoader

Load doot plugins from the system, to choose from with doot.toml or cli args

Module Contents

doot.control.loaders.plugin.build_entry_point(
x: str,
y: str,
z: str,
) importlib.metadata.EntryPoint[source]

Make an EntryPoint

Parameters:
Return type:

importlib.metadata.EntryPoint

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,
) Self[source]
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]

_load_system_plugins() None[source]
Return type:

None

_load_from_toml() None[source]
Return type:

None

_load_extra_plugins() None[source]
Return type:

None

_append_defaults() None[source]
Return type:

None