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

Method suggested_commands

crates/opencode-tui/src/command.rs:543–548  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

541 }
542
543 pub fn suggested_commands(&self) -> Vec<&SlashCommand> {
544 self.all_commands()
545 .into_iter()
546 .filter(|cmd| cmd.suggested)
547 .collect()
548 }
549}
550
551impl Default for CommandRegistry {

Callers 1

refresh_filterMethod · 0.80

Calls 2

all_commandsMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected