Expand description
§cleansys
Ratatui-based terminal user interface and CLI for CleanSys. Published to
crates.io as cleansys (crate directory: cleansys-tui).
Ratatui-based terminal user interface and CLI for CleanSys.
Shared domain logic (cleaners, permission checks, formatting) lives in
cleansys_core; this crate is only responsible for rendering and
terminal input handling.
Re-exports§
pub use app::App;pub use components::password_prompt::PasswordPrompt;pub use menu::Menu;
Modules§
- app
- Application state and key-handling logic for the TUI.
- components
- Reusable UI components (e.g. the sudo password prompt).
- events
- Event handling for terminal input and resize events.
- menu
- Text-based interactive menu (non-TUI fallback interface).
- notifications
- Desktop notification helper (best-effort; failures never surface to the UI). Desktop notification helper for the CleanSys TUI.
- pie_
chart - Pie chart widget for data visualization.
Thin adapter from CleanSys’s
(name, count, size)category-distribution tuples to thetui_piechartcrate’s ownPieChart/PieSlicewidgets. - render
- Rendering logic for the terminal UI.