2019-02-19 10:13:32 -05:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import yaml
|
|
|
|
import json
|
|
|
|
|
|
|
|
with open('karabiner.yaml') as in_f:
|
|
|
|
with open('karabiner.json', 'w') as out_f:
|
2020-03-05 15:31:34 -05:00
|
|
|
json.dump(yaml.load(in_f, Loader=yaml.SafeLoader), out_f, indent=4)
|