2024-05-20 17:34:27 +00:00
|
|
|
from clan_cli.api import API
|
|
|
|
|
|
|
|
|
|
|
|
def main() -> None:
|
2024-05-20 17:59:50 +00:00
|
|
|
schema = API.to_json_schema()
|
2024-05-20 17:34:27 +00:00
|
|
|
print(
|
|
|
|
f"""export const schema = {schema} as const;
|
|
|
|
"""
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|