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