pm/str
This commit is contained in:
parent
0ad5cc9701
commit
f2991cff04
1 changed files with 6 additions and 0 deletions
|
@ -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}
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue