posspack/.forgejo/scripts/update-wiki.py
Ashley Graves 51457087d4
Some checks failed
Update wiki / test (push) Failing after 12s
test
2024-07-27 14:44:02 +02:00

12 lines
235 B
Python

#!/usr/bin/env python
from pip._vendor import tomli
import glob
import os
#print(os.environ["GITHUB_TOKEN"])
for mod in glob.glob("pack/mods/*.toml"):
print(mod)
with open(mod, "r") as f:
data = tomli.load(f)
print(data)