dots/.bin/json-to-yaml

6 lines
122 B
Python
Executable File

#!/usr/bin/env python
import yaml, json, sys
print(yaml.dump(json.load(open(sys.argv[1])), allow_unicode=True), end='')