MCPcopy Create free account
hub / github.com/GCWing/BitFun / show_list

Method show_list

src/apps/cli/src/ui/skill_selector.rs:72–81  ·  view source on GitHub ↗

Show the current mode's runtime-visible skills.

(&mut self, skills: Vec<SkillItem>)

Source from the content-addressed store, hash-verified

70
71 /// Show the current mode's runtime-visible skills.
72 pub fn show_list(&mut self, skills: Vec<SkillItem>) {
73 if skills.is_empty() {
74 return;
75 }
76
77 self.items = skills;
78 self.screen = SkillSelectorScreen::List;
79 self.list_state.select(Some(0));
80 self.visible = true;
81 }
82
83 /// Show all discovered skills with mode-specific enablement checkboxes.
84 pub fn show_config(&mut self, skills: Vec<SkillItem>) {

Callers 4

show_skill_listMethod · 0.45
show_subagent_listMethod · 0.45

Calls 2

is_emptyMethod · 0.45
selectMethod · 0.45

Tested by

no test coverage detected