summaryrefslogtreecommitdiff
path: root/playoff.py
blob: b04cade24c7503da05b8e24cf6dc740e36c05e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from jfr_playoff.settings import PlayoffSettings
from jfr_playoff.generator import PlayoffGenerator
from jfr_playoff.filemanager import PlayoffFileManager

def main():
    s = PlayoffSettings()

    generator = PlayoffGenerator(s)
    content = generator.generate_content()

    file_manager = PlayoffFileManager(s)
    file_manager.write_content(content)
    file_manager.copy_scripts()
    file_manager.send_files()

    if s.interactive:
        raw_input('Press any key to continue...')

if __name__ == '__main__':
    main()