Closer [ci skip]

This commit is contained in:
abejgonzalez
2022-10-04 08:43:20 -07:00
committed by joey0320
parent 873131c0c7
commit ae05fe0de2
4 changed files with 32 additions and 18 deletions

18
scripts/dump-mods.py Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/python
# dump all modules (deduped) given a specific module
#
# args
# $1 - module to dump all modules underneath (inclusive)
# $2 - module heirarchy file
import sys
import json
mod_name = sys.argv[1]
mod_file = sys.argv[2]
# open file
with open(mod_file, 'r') as modFile:
#print(json.load(modFile))