Add script to convert JSON to YAML

This commit is contained in:
hektor committed 2022-02-06 16:22:14 +01:00
1 parent 3dbd014b33
commit 69ad8cd996
1 file changed
+5
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env python
import yaml, json, sys
print(yaml.dump(json.load(open(sys.argv[1])), allow_unicode=True), end='')