#!/usr/bin/env python3
"""
Usage:
    $ recover_scrabble_game [INPUT_FILENAME]

See tests/sample_input_files/ for examples of correctly formatted input files
"""
import sys

import scrabble

def main():
    if len(sys.argv) == 2:
        for move_list in scrabble.main.recover_game(sys.argv[1]):
            print('{}\n'.format(move_list))
    else:
        print('Usage: recover_scrabble_game [INPUT_FILENAME]')

if __name__ == '__main__':
    main()
