lint/arg
This commit is contained in:
parent
63d30013a3
commit
076f654a2d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue