Add script to convert JSON to YAML

This commit is contained in:
2022-02-06 16:22:14 +01:00
parent 3b17057676
commit f7bf494bd7

5
.bin/json-to-yaml Executable file
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='')