AQIT
0.1.0
Toggle main menu visibility
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
4
from
__future__
import
annotations
5
6
from
textual.app
import
App
7
8
from
aquin.tui.theme
import
AQUIN_CSS
9
10
11
class
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()
aquin.tui.app.AquinApp
Definition
app.py:15
aquin.tui.app.AquinApp.action_quit
None action_quit(self)
Definition
app.py:25
aquin.tui.theme
Definition
theme.py:1
aquin
tui
app.py
AQIT · Aquin Labs Private Limited · Apache 2.0 · Generated by
1.18.0