MCPcopy Create free account
hub / github.com/cursor/cookbook / formatSlashCommandHelp

Function formatSlashCommandHelp

sdk/coding-agent-cli/src/commands.ts:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32export function formatSlashCommandHelp() {
33 return slashCommands
34 .map((command) => `${command.name} - ${command.summary}`)
35 .join(" ")
36}
37
38export function getSlashCommandItems(query: string) {
39 const normalizedQuery = query.trim().toLowerCase()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected