mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
12 lines
296 B
Python
12 lines
296 B
Python
import json
|
|
import sys
|
|
import yaml
|
|
from textwrap import indent
|
|
from file_format import *
|
|
|
|
if __name__ == '__main__':
|
|
parsedFileContent = format4kp.parse_file(sys.argv[1])
|
|
|
|
sointuFormat = FormatConverter.PatchContainerToDict(parsedFileContent)
|
|
print(yaml.dump(sointuFormat, indent=4))
|