MCPcopy Index your code
hub / github.com/winfunc/opcode / handleCommandClick

Function handleCommandClick

src/components/SlashCommandPicker.tsx:231–238  ·  view source on GitHub ↗
(command: SlashCommand)

Source from the content-addressed store, hash-verified

229 };
230
231 const handleCommandClick = (command: SlashCommand) => {
232 trackEvent.slashCommandSelected({
233 command_name: command.name,
234 selection_method: 'click'
235 });
236 slashCommandFeatureTracking.trackUsage();
237 onSelect(command);
238 };
239
240 // Group commands by scope and namespace for the Custom tab
241 const groupedCommands = filteredCommands.reduce((acc, cmd) => {

Callers 1

SlashCommandPickerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected