cic-contracts/scripts/mergeabis.py
2021-10-23 21:00:17 +02:00

14 lines
182 B
Python

#!/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))