diff --git a/app.py b/app.py new file mode 100644 index 0000000..9440d22 --- /dev/null +++ b/app.py @@ -0,0 +1,16 @@ +"""Entry point for the task. + +This script simply imports the parsing function from ``src/main.py`` and +provides a small CLI wrapper that can be used in the course tests. +""" + +from src.main import parse_task_description + +if __name__ == "__main__": + import sys + if len(sys.argv) < 2: + print("Usage: python app.py ''") + sys.exit(1) + description = sys.argv[1] + card = parse_task_description(description) + print(card.model_dump_json(indent=2, ensure_ascii=False))