MCPcopy Index your code
hub / github.com/github/copilot-sdk / prompt

Function prompt

nodejs/samples/chat.ts:21–21  ·  view source on GitHub ↗
(q: string)

Source from the content-addressed store, hash-verified

19
20 const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
21 const prompt = (q: string) => new Promise<string>((r) => rl.question(q, r));
22
23 console.log("Chat with Copilot (Ctrl+C to exit)\n");
24

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…