Expand description
TUI application state and setup/apply actions.
Structsยง
- App
- Mutable TUI session: screens, setup list, logs, modals, and background probe/fetch/reboot.
- Cli
- Clap flags for the TUI binary (
--remote,--apply, pipeline toggles).
Enumsยง
- BoxCli
View - Box CLI footer/overview value (remote mode).
- Confirm
Kind - Confirmation dialog kinds shown as TUI overlays.
- Fetch
Event - Result of
ffetch for one surface tab (not a fullrrefresh). - Modal
- In-TUI overlay (confirm / free-text / sudo password).
- Reboot
Event - Progress from the background reboot thread.
Functionsยง
- short_
reboot_ ๐err - sleep_
cancellable ๐ - ssh_
host_ ๐up - wait_
until_ ๐box_ replies - After reboot is accepted: wait until the box stops answering once, then until it replies again.
Esc sets
cancel. ReturnsErr("cancelled")or timeout.