MCPcopy Create free account
hub / github.com/AI45Lab/Code / execute

Method execute

core/src/commands.rs:235–239  ·  view source on GitHub ↗
(&self, _args: &str, _ctx: &CommandContext)

Source from the content-addressed store, hash-verified

233 "List available commands"
234 }
235 fn execute(&self, _args: &str, _ctx: &CommandContext) -> CommandOutput {
236 // Help text is generated dynamically by the session using registry.list()
237 // This is a placeholder — the actual help is built in AgentSession::execute_command()
238 CommandOutput::text("Use /help to see available commands.")
239 }
240}
241
242struct CompactCommand;

Callers 1

dispatchMethod · 0.45

Calls 3

containsMethod · 0.80
is_emptyMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected