Skip to main content

cleansys_tui/
lib.rs

1//! # cleansys
2//!
3//! Ratatui-based terminal user interface and CLI for CleanSys. Published to
4//! crates.io as `cleansys` (crate directory: `cleansys-tui`).
5//!
6//! Ratatui-based terminal user interface and CLI for CleanSys.
7//!
8//! Shared domain logic (cleaners, permission checks, formatting) lives in
9//! [`cleansys_core`]; this crate is only responsible for rendering and
10//! terminal input handling.
11
12#![allow(missing_docs)]
13
14/// Application state and key-handling logic for the TUI.
15pub mod app;
16
17/// Reusable UI components (e.g. the sudo password prompt).
18pub mod components;
19
20/// Event handling for terminal input and resize events.
21pub mod events;
22
23/// Text-based interactive menu (non-TUI fallback interface).
24pub mod menu;
25
26/// Pie chart widget for data visualization.
27pub mod pie_chart;
28
29/// Rendering logic for the terminal UI.
30pub mod render;
31
32/// Desktop notification helper (best-effort; failures never surface to the UI).
33pub mod notifications;
34
35/// Re-export commonly used types for convenience.
36pub use app::App;
37pub use components::password_prompt::PasswordPrompt;
38pub use menu::Menu;