Add terminal TUI and shell completion

This commit is contained in:
Luna 2026-07-08 20:47:58 -07:00
parent a7535cfc56
commit cab60cd633
11 changed files with 612 additions and 0 deletions

View file

@ -214,6 +214,26 @@ python3 -m enodia_sentinel.cli check # run every detector once, print fin
No pip, no virtualenv, no dependencies — it's stdlib-only and installs as a
plain package directory plus a launcher wrapper.
### Terminal TUI and completion
For SSH/tmux sessions, use the stdlib curses dashboard:
```bash
enodia-sentinel tui
# or, when installed from pyproject metadata:
enodia-sentinel-tui
```
Keys: `1` status, `2` alerts, `3` incidents, `4` rules, `r` refresh, `/` filter,
`:` command mode, `Tab` complete command names, `q` quit.
Shell completion is generated without extra dependencies:
```bash
enodia-sentinel completion bash > ~/.local/share/bash-completion/completions/enodia-sentinel
enodia-sentinel completion zsh > ~/.zfunc/_enodia-sentinel
```
### Desktop tray (optional)
A lightweight system-tray applet is available for desktop installs. It is an