Skip to main content

command_registry

Function command_registry 

Source
pub fn command_registry() -> &'static [CommandEntry]
Expand description

Returns the static registry of core TUI commands.

This includes navigation, session management, view toggles, and app-level actions. Extended commands (agent, plan, graph, experiment, infra) are in extra_command_registry and daemon commands in daemon_command_registry.

Lazily initialised on first call and then shared for the process lifetime.

ยงExamples

use zeph_tui::command::command_registry;

let registry = command_registry();
assert!(!registry.is_empty());
assert!(registry.iter().any(|e| e.id == "app:quit"));