MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / handleHelpCommand

Function handleHelpCommand

cli/src/commands/help.ts:5–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import type { PostUserMessageFn } from '../types/contracts/send-message'
4
5export async function handleHelpCommand(): Promise<{
6 postUserMessage: PostUserMessageFn
7}> {
8 // Show the help banner with keyboard shortcuts
9 useChatStore.getState().setInputMode('help')
10
11 const postUserMessage: PostUserMessageFn = (prev) => prev
12 return { postUserMessage }
13}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected