From 116651cdb0ffd04decce5315a87ff7aa00332256 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 24 Aug 2026 15:48:00 +0300 Subject: [PATCH] fix: Fixed app.py - Replaced NULL with None - Added proper error handling with typer.BadParameter - Added if __name__ == '__main__' block --- app.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app.py b/app.py index e69de29..2b60e5f 100644 --- a/app.py +++ b/app.py @@ -0,0 +1,14 @@ +import typer + +app = typer.Typer() + + +@app.command() +def start(config_path: str = None): + if config_path is None: + raise typer.BadParameter("No config file path provided") + # TODO: config validation, run app, run tests + + +if __name__ == "__main__": + app()