Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
551
impl Default for CommandRegistry {
Callers
1
refresh_filter
Method · 0.80
Calls
2
all_commands
Method · 0.80
filter
Method · 0.45
Tested by
no test coverage detected