cic-contracts/scripts/mergeabis.py

14 lines
182 B
Python
Raw Permalink Normal View History

2020-12-31 22:29:40 +01:00
#!/usr/bin/env python3
import sys
import json
merged = []
for a in sys.argv[1:]:
f = open(a, 'r')
j = json.load(f)
f.close()
merged += j
print(json.dumps(merged))