This commit is contained in:
Marc Beninca 2024-09-13 15:55:46 +02:00
parent 63d30013a3
commit 076f654a2d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,6 +1,9 @@
"""Handle system arguments."""
import sys import sys
def split() -> tuple[str, list[str]]: def split() -> tuple[str, list[str]]:
"""Split command & actual arguments."""
command, *arguments = sys.argv command, *arguments = sys.argv
return command, arguments return command, arguments