autom8/commands/gui.rs
1//! GUI command handler.
2//!
3//! Launches a native GUI window using eframe/egui to display
4//! real-time status of autom8 activity across all projects.
5
6use crate::error::Result;
7use crate::ui::gui::app::run_gui;
8
9/// Launch the native GUI application.
10///
11/// Opens a native window displaying real-time status of autom8 activity
12/// across all projects in a graphical user interface.
13///
14/// # Returns
15///
16/// * `Ok(())` when the user closes the window
17/// * `Err(Autom8Error)` if the GUI fails to initialize
18pub fn gui_command() -> Result<()> {
19 run_gui()
20}