MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / list

Method list

crates/opencode-command/src/lib.rs:114–116  ·  view source on GitHub ↗

List all available commands

(&self)

Source from the content-addressed store, hash-verified

112
113 /// List all available commands
114 pub fn list(&self) -> Vec<&Command> {
115 self.commands.values().collect()
116 }
117
118 /// Load commands from .opencode/commands directory
119 pub fn load_from_directory(&mut self, project_dir: &Path) -> anyhow::Result<()> {

Callers 13

run_chat_sessionFunction · 0.45
list_models_interactiveFunction · 0.45
select_modelFunction · 0.45
handle_stats_commandFunction · 0.45
list_modelsFunction · 0.45
handle_session_commandFunction · 0.45
handle_agent_commandFunction · 0.45
handle_debug_commandFunction · 0.45
export_session_dataFunction · 0.45
choose_github_modelFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected