From f2991cff049828b0e28c2c24b6eda712f7357894 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 15 Sep 2024 01:35:33 +0200 Subject: [PATCH] pm/str --- rwx/os/pm/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rwx/os/pm/__init__.py b/rwx/os/pm/__init__.py index 0bcf1e6..e359a88 100644 --- a/rwx/os/pm/__init__.py +++ b/rwx/os/pm/__init__.py @@ -15,3 +15,9 @@ class PM(ABC): @abstractmethod def get_install_command(self) -> Command: """Command to install package(s).""" + + def __str__(self) -> str: + """Return commands.""" + return f"""\ +install = {self.install} +"""