Skip to main content

extra_command_registry

Function extra_command_registry 

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

Returns the extended command registry (infrastructure, agent, plan, graph, experiment).

Lazily initialised on first call and then shared for the process lifetime. Prefer filter_commands when you need a merged, fuzzy-filtered view.

ยงExamples

use zeph_tui::command::extra_command_registry;

let registry = extra_command_registry();
assert!(registry.iter().any(|e| e.id == "graph:stats"));
assert!(registry.iter().any(|e| e.id == "experiment:start"));