AQIT 0.1.0
Loading...
Searching...
No Matches
app.py
Go to the documentation of this file.
1# Copyright (c) 2025-present Aquin Labs Private Limited. All Rights Reserved.
2"""Textual app entry for Aquin CLI surfaces."""
3
4from __future__ import annotations
5
6from textual.app import App
7
8from aquin.tui.theme import AQUIN_CSS
9
10
11class AquinApp(App[None]):
12 """Base Textual app — shared theme + quit bindings."""
13
14 CSS = AQUIN_CSS
15 BINDINGS = [
16 ("q", "quit", "Quit"),
17 ("escape", "quit", "Quit"),
18 ("enter", "quit", "Done"),
19 ]
20
21 def action_quit(self) -> None:
22 self.exit()
None action_quit(self)
Definition app.py:25