command/str
This commit is contained in:
parent
73c7ac00f4
commit
5038e587af
1 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,13 @@ class Command:
|
|||
self.raw = arguments
|
||||
self.flat: list[str] = []
|
||||
|
||||
def __str__(self) -> str:
|
||||
"""Return raw & flat."""
|
||||
return f"""\
|
||||
raw = {self.raw}
|
||||
flat = {self.flat}
|
||||
"""
|
||||
|
||||
|
||||
def get_tuples_args(*items: str | tuple[str, ...]) -> list[str]:
|
||||
"""Turn arguments tuples into an arguments list."""
|
||||
|
|
Loading…
Reference in a new issue