Add typer to project

This commit is contained in:
2026-10-26 20:38:48 +11:00
parent f23a29d494
commit db449c5b85
2 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ authors = [
{ name = "Wylie Campbell", email = "wylie@kitsch.digital" }
]
requires-python = ">=3.14"
dependencies = []
dependencies = [
"typer>=0.27.3",
]
[project.scripts]
cs50-final-project = "cs50_final_project:main"
+7
View File
@@ -1,7 +1,14 @@
import sqlite3
import typer
from .helpers import create_db
def main() -> None:
db = sqlite3.connect("events")
db.autocommit = True
create_db(db)