MCPcopy
hub / github.com/ChinaGodMan/UserScripts / main

Function main

utils/update_related_scripts.py:65–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64
65def main():
66 json_path = 'docs/ScriptsPath.json'
67 data = read_json(json_path)
68 scripts = data.get('scripts', [])
69 start_tag = "<!--RELATED-->"
70 end_tag = "<!--RELATED-END-->"
71 for script in scripts:
72 process_script(script, scripts, start_tag, end_tag, script.get('group'))
73
74
75if __name__ == "__main__":

Callers 1

Calls 3

read_jsonFunction · 0.90
process_scriptFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected