14 lines
377 B
Python
14 lines
377 B
Python
from pasch.cmd import run_check
|
|
from pasch.orchestrator import Module, Orchestrator
|
|
|
|
|
|
class Echo(Module):
|
|
def __init__(self, orchestrator: Orchestrator) -> None:
|
|
super().__init__(orchestrator)
|
|
self.args: list[str] = []
|
|
|
|
def add(self, arg: str) -> None:
|
|
self.args.append(arg)
|
|
|
|
def realize(self) -> None:
|
|
run_check("echo", *self.args)
|