mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-22 15:58:40 -05:00
19 lines
405 B
Python
19 lines
405 B
Python
"""
|
|
Resource schemas generator for qrm2.
|
|
---
|
|
Copyright (C) 2021 classabbyamp, 0x5c
|
|
|
|
This file is part of qrm2 and is released under the terms of
|
|
the GNU General Public License, version 2.
|
|
"""
|
|
|
|
|
|
import utils.resources_models as models
|
|
|
|
|
|
print("Generating schema for index.json")
|
|
with open("./dev-notes/rs_index_schema.json", "w") as file:
|
|
file.write(models.Index.schema_json(indent=4))
|
|
|
|
print("Done!")
|