Files
api-checker/app.py
T
Black_Raven 116651cdb0 fix: Fixed app.py
- Replaced NULL with None
- Added proper error handling with typer.BadParameter
- Added if __name__ == '__main__' block
2026-08-24 15:48:00 +03:00

15 lines
269 B
Python

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()