doot.cmds._interface
Protocols
Protocol for marking cmds as able to allow subcmds in cli parsing |
|
Holds command information and performs it |
Module Contents
- class doot.cmds._interface.AcceptsSubcmds_p[source]
Bases:
ProtocolProtocol for marking cmds as able to allow subcmds in cli parsing
- class doot.cmds._interface.Command_p[source]
Bases:
jgdv.cli._interface.CLIParamProvider_p,ProtocolHolds command information and performs it
- shutdown(
- tasks: jgdv.structs.chainguard.ChainGuard,
- plugins: jgdv.structs.chainguard.ChainGuard,
- errored: jgdv.Maybe[Exception] = None,
A Handler called on doot shutting down. only the triggered cmd’s shutdown gets called
- Parameters:
tasks (jgdv.structs.chainguard.ChainGuard)
plugins (jgdv.structs.chainguard.ChainGuard)
errored (jgdv.Maybe[Exception])
- Return type:
None