feat(table): display data as a table

This commit is contained in:
Kristofers Solo
2023-11-06 22:08:26 +02:00
parent 73090ea440
commit aa53cd3223
13 changed files with 62 additions and 111 deletions

View File

@@ -1,15 +1,11 @@
#!/usr/bin/env python3
from pathlib import Path
from bookstore.inventory import Inventory
from ui import tui
from ui.app import App
def main() -> None:
db_path = Path("db.sqlite3")
inventory = Inventory(db_path)
tui.render(inventory)
app = App()
app.run()
if __name__ == "__main__":