waft.cli package

class waft.cli.Systems

Bases: object

Interface to iterate multisystem WAFT connections and instances.

classmethod iterate_sftp() Iterator[SFTPClient]

Iterate WAFT test system SFTP connections.

classmethod iterate_waft() Iterator[Waft]

Iterate WAFT test system instances.

system_names: list[str]
waft_instances: list[Waft] = []
waft.cli.callback_systems_defaulted(systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7f50db3bee90>] = SystemsDefault.ALL, config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f50db06bf90>] = None)

Execute commands on the systems specified (all, by default).

waft.cli.callback_systems_required(systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7f50db3bee90>], config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f50db06bf90>] = None)

Execute commands on the systems specified.

waft.cli.print_error(exc: Exception)

Display exception as an error printed to the console.

Submodules