def parse_line(line: str) -> tuple[str, list[str]]:
    """Return command and arguments from line from input file."""
    ln = line.split(";", 1)[0].split(",")
    if bool(ln[0].split()):
        command = ln[0].split()[0]
        args = [arg.split()[0] for arg in ln[1:]]
    else:
        command = 'pass'
        args = []
    return command, args