terminhtml.runner package

Submodules

terminhtml.runner.commandresult module

class terminhtml.runner.commandresult.CommandResult(**data)[source]

Bases: BaseModel

context: RunnerContext
input: LineOutput
output: Output
class terminhtml.runner.commandresult.LineWithDelay(**data)[source]

Bases: LineOutput

delay: int
class terminhtml.runner.commandresult.RunnerContext(**data)[source]

Bases: BaseModel

cwd: Path
env: Optional[Dict[str, str]]

terminhtml.runner.main module

class terminhtml.runner.main.CommandMarkerIndices(**data)[source]

Bases: BaseModel

begin_env: int
begin_path: int
begin_persistence: int
classmethod empty()[source]
Return type:

CommandMarkerIndices

end_env: int
end_path: int
end_persistence: int
classmethod find(lines)[source]
Return type:

CommandMarkerIndices

property is_missing_any_marker: bool
Return type:

bool

property last_real_output: int
Return type:

int

property path: int
Return type:

int

terminhtml.runner.main.run_commands(commands, setup_command=None, input=None, allow_exceptions=False, prompt_matchers=None, command_timeout=10, cwd=None, echo=False, force_color=True)[source]
Return type:

List[CommandResult]