From 8080d7101ebdf5a58c5df6b70698f8d9861761a1 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sun, 21 May 2023 13:17:48 -0500 Subject: [PATCH] fix template miss --- learn_sql_model/__main__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/learn_sql_model/__main__.py b/learn_sql_model/__main__.py index 04b645e..45d3e2d 100644 --- a/learn_sql_model/__main__.py +++ b/learn_sql_model/__main__.py @@ -1,9 +1,10 @@ # SPDX-FileCopyrightText: 2023-present Waylon S. Walker # # SPDX-License-Identifier: MIT -import sys -if __name__ == '__main__': - from .cli import {{python_package}} +import typer - sys.exit({{python_package}}()) +from .cli.app import main + +if __name__ == "__main__": + typer.run(main)