feat: Add build-helpers json schema extract script

pull/10463/head
Matthias 2 years ago
parent 6454a7a453
commit 08ed99d20c

@ -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)
Loading…
Cancel
Save