mirror of
https://github.com/kristoferssolo/LU-bookstore.git
synced 2026-02-04 05:22:03 +00:00
feat(table): display data as a table
This commit is contained in:
10
src/main.py
10
src/main.py
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user