arg.split

This commit is contained in:
Marc Beninca 2024-02-16 16:07:36 +01:00
parent 80a1b90759
commit 51b0f7d662

View file

@ -2,4 +2,5 @@ import sys
def split() -> tuple[str, list[str]]: def split() -> tuple[str, list[str]]:
return sys.argv[0], sys.argv[1:] command, *arguments = sys.argv
return command, arguments