command/repr
This commit is contained in:
parent
f8567686fd
commit
5a25c6df27
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ class Command:
|
|||
self.raw = arguments
|
||||
self.flat: list[str] = []
|
||||
|
||||
def __repr__(self) -> str:
|
||||
"""Represent command."""
|
||||
return f"Command({self.raw!r})"
|
||||
|
||||
def __str__(self) -> str:
|
||||
"""Return raw & flat."""
|
||||
return f"""\
|
||||
|
|
Loading…
Reference in a new issue