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