All checks were successful
/ job (push) Successful in 1m12s
new development branch from root commit
13 lines
250 B
Python
13 lines
250 B
Python
"""Handle system arguments."""
|
|
|
|
import sys
|
|
|
|
|
|
def split() -> tuple[str, list[str]]:
|
|
"""Split command & actual arguments.
|
|
|
|
:return: both
|
|
:rtype: tuple[str, list[str]]
|
|
"""
|
|
command, *arguments = sys.argv
|
|
return command, arguments
|