command/wip
This commit is contained in:
parent
f4498f691c
commit
148f757d5d
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ from rwx import txt
|
||||||
class Command:
|
class Command:
|
||||||
"""Command to run."""
|
"""Command to run."""
|
||||||
|
|
||||||
|
def __init__(self, *arguments: str | tuple[str, ...]) -> None:
|
||||||
|
"""Set raw & flat arguments."""
|
||||||
|
self.raw = arguments
|
||||||
|
self.flat: list[str] = []
|
||||||
|
|
||||||
|
|
||||||
def get_tuples_args(*items: str | tuple[str, ...]) -> list[str]:
|
def get_tuples_args(*items: str | tuple[str, ...]) -> list[str]:
|
||||||
"""Turn arguments tuples into an arguments list."""
|
"""Turn arguments tuples into an arguments list."""
|
||||||
|
|
Loading…
Reference in a new issue