mirror of
https://github.com/rjNemo/vf-site
synced 2026-06-06 09:16:39 +00:00
13 lines
223 B
Python
13 lines
223 B
Python
import json
|
|
from typing import TypedDict
|
|
|
|
|
|
class Config(TypedDict):
|
|
name: str
|
|
templates: list[str]
|
|
outDir: str
|
|
|
|
|
|
def load() -> Config:
|
|
with open("config.json", "r") as f:
|
|
return json.loads(f.read())
|