fix: Fixed app.py

- Replaced NULL with None
- Added proper error handling with typer.BadParameter
- Added if __name__ == '__main__' block
This commit is contained in:
Black_Raven committed 2026-08-24 15:48:00 +03:00
1 parent ab71c20012
commit 116651cdb0
1 file changed
+14
+14
View File
@@ -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()