Add terminal TUI and shell completion
This commit is contained in:
parent
a7535cfc56
commit
cab60cd633
11 changed files with 612 additions and 0 deletions
20
README.md
20
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue