doot.control._interface
Protocols
protocol for the doot accesspoint, |
|
protocol for the doot accesspoint, |
|
protocol for doot as a main program |
|
protocol for doot as a main program |
Module Contents
- class doot.control._interface.Overlord_p[source]
Bases:
Protocolprotocol for the doot accesspoint, used for setting up and using Doot programmatically
- verify_config_version(
- ver: jgdv.Maybe[str],
- sources: str | pathlib.Path,
- *,
- override: jgdv.Maybe[str] = None,
- Parameters:
ver (jgdv.Maybe[str])
sources (str | pathlib.Path)
override (jgdv.Maybe[str])
- Return type:
None
- update_aliases(
- *,
- data: dict | jgdv.structs.chainguard.ChainGuard,
- Parameters:
data (dict | jgdv.structs.chainguard.ChainGuard)
- Return type:
None
- update_cmd_args(
- data: jgdv.cli._interface.ParseReport_d | dict,
- Parameters:
data (jgdv.cli._interface.ParseReport_d | dict)
- Return type:
None
- update_global_task_state(
- data: jgdv.structs.chainguard.ChainGuard,
- *,
- source: jgdv.Maybe[str] = None,
- Parameters:
data (jgdv.structs.chainguard.ChainGuard)
source (jgdv.Maybe[str])
- Return type:
None
- update_import_path(*paths: pathlib.Path) None[source]
- Parameters:
paths (pathlib.Path)
- Return type:
None
- class doot.control._interface.Overlord_i[source]
Bases:
Overlord_p,Protocolprotocol for the doot accesspoint, used for setting up and using Doot programmatically
- config: jgdv.structs.chainguard.ChainGuard
- constants: jgdv.structs.chainguard.ChainGuard
- aliases: jgdv.structs.chainguard.ChainGuard
- cmd_aliases: jgdv.structs.chainguard.ChainGuard
- args: jgdv.structs.chainguard.ChainGuard
- locs: jgdv.structs.locator.JGDVLocator
- configs_loaded_from: list[str | pathlib.Path]
- loaded_plugins: jgdv.structs.chainguard.ChainGuard
- loaded_cmds: jgdv.structs.chainguard.ChainGuard
- loaded_tasks: jgdv.structs.chainguard.ChainGuard
- class doot.control._interface.Main_p(*, args: jgdv.Maybe[list] = None)[source]
Bases:
Protocolprotocol for doot as a main program
- Parameters:
args (jgdv.Maybe[list])
- class doot.control._interface.Main_i(*, args: jgdv.Maybe[list] = None)[source]
Bases:
Main_p,Protocolprotocol for doot as a main program
- Parameters:
args (jgdv.Maybe[list])
- current_cmd: jgdv.Maybe[doot.cmd._interface.Command_p]
- parser: jgdv.Maybe[jgdv.cli.ParseMachine]
- log_config: jgdv.logging.JGDVLogConfig