Initial upload: DevDash CLI with TUI dashboard
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
18
src/main.py
Normal file
18
src/main.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
from textual.app import App
|
||||||
|
from textual import events
|
||||||
|
from src.ui.screens.dashboard import DashboardScreen
|
||||||
|
|
||||||
|
|
||||||
|
class DevDashApp(App):
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__()
|
||||||
|
self.refresh_interval = 30
|
||||||
|
self.current_repo = None
|
||||||
|
|
||||||
|
async def on_mount(self) -> None:
|
||||||
|
self.push_screen(DashboardScreen())
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
app = DevDashApp()
|
||||||
|
app.run()
|
||||||
Reference in New Issue
Block a user