doot.control.loaders.cmd

Classes

CommandLoader

Default Command loaded. using the loaded plugins,

Module Contents

class doot.control.loaders.cmd.CommandLoader[source]

Default Command loaded. using the loaded plugins, selects “command”, calls load on each entry point, and if the obj returned is a subclass of Command_p, instantiates it

setup(
plugins,
extra: jgdv.Maybe[list | dict | jgdv.structs.chainguard.ChainGuard] = None,
) Self[source]
Parameters:

extra (jgdv.Maybe[list | dict | jgdv.structs.chainguard.ChainGuard])

Return type:

Self

load() jgdv.structs.chainguard.ChainGuard[doot.cmds._interface.Command_p][source]
Return type:

jgdv.structs.chainguard.ChainGuard[doot.cmds._interface.Command_p]