Skip to main content

handle_status

Function handle_status 

Source
pub async fn handle_status(
    task_mgr: &impl TaskBackend,
    ws_mgr: &impl WorkspaceBackend,
    task_id: Option<i64>,
    with_events: bool,
    format: &str,
) -> Result<bool>
Expand description

Handle ie status command.

Returns Ok(true) if a focused task was displayed, Ok(false) if no focus. The caller can add backend-specific logic (e.g. LLM suggestions) after this.