Move mergeabis script to scripts folder
This commit is contained in:
13
scripts/mergeabis.py
Normal file
13
scripts/mergeabis.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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))
|
||||
Reference in New Issue
Block a user