Files
clan-core/pkgs/clan-cli/clan_cli/api/cli.py
Jörg Thalheim b313f2d066 make all same-module imports relative, the rest absolute
This makes sorting more consitent.
2024-09-02 13:00:19 +02:00

14 lines
272 B
Python
Executable File

#!/usr/bin/env python3
import argparse
import json
from . import API
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Debug the API.")
args = parser.parse_args()
schema = API.to_json_schema()
print(json.dumps(schema, indent=4))