src.sysadmin.sysadmin_port

Sysadmin port defining the administrative operations interface.

 1"""Sysadmin port defining the administrative operations interface."""
 2
 3from abc import ABC, abstractmethod
 4
 5
 6class SysadminPort(ABC):
 7    """Port for administrative operations on the EC Issuer."""
 8
 9    @abstractmethod
10    def run(self, command: list[str]) -> None:
11        """Run a sysadmin command.
12
13        Args:
14            command: The command and its arguments.
15        """
16        ...
class SysadminPort(abc.ABC):
 7class SysadminPort(ABC):
 8    """Port for administrative operations on the EC Issuer."""
 9
10    @abstractmethod
11    def run(self, command: list[str]) -> None:
12        """Run a sysadmin command.
13
14        Args:
15            command: The command and its arguments.
16        """
17        ...

Port for administrative operations on the EC Issuer.

@abstractmethod
def run(self, command: list[str]) -> None:
10    @abstractmethod
11    def run(self, command: list[str]) -> None:
12        """Run a sysadmin command.
13
14        Args:
15            command: The command and its arguments.
16        """
17        ...

Run a sysadmin command.

Args: command: The command and its arguments.