From 148f757d5dbafe09a0bada3bad3daea8ae56cd6b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 14 Sep 2024 18:07:01 +0200 Subject: [PATCH] command/wip --- rwx/ps/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rwx/ps/__init__.py b/rwx/ps/__init__.py index 07ccce8..3ea9702 100644 --- a/rwx/ps/__init__.py +++ b/rwx/ps/__init__.py @@ -8,6 +8,11 @@ from rwx import txt class Command: """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]: """Turn arguments tuples into an arguments list."""