feat: Add build-helpers json schema extract script

This commit is contained in:
Matthias 2024-07-25 20:07:07 +02:00
parent 6454a7a453
commit 08ed99d20c

View File

@ -0,0 +1,10 @@
from pathlib import Path
import rapidjson
from freqtrade.configuration.config_schema import CONF_SCHEMA
schema_filename = Path(Path(__file__).parent.parent / "schema.json")
with schema_filename.open("w") as f:
rapidjson.dump(CONF_SCHEMA, f, indent=2)