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

12 lines
236 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, "rb") as f:
data = tomli.load(f)
print(data)