MCPcopy
hub / github.com/nextjs/saas-starter / question

Function question

lib/db/setup.ts:11–23  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

9const execAsync = promisify(exec);
10
11function question(query: string): Promise<string> {
12 const rl = readline.createInterface({
13 input: process.stdin,
14 output: process.stdout,
15 });
16
17 return new Promise((resolve) =>
18 rl.question(query, (ans) => {
19 rl.close();
20 resolve(ans);
21 })
22 );
23}
24
25async function checkStripeCLI() {
26 console.log(

Callers 3

checkStripeCLIFunction · 0.85
getPostgresURLFunction · 0.85
getStripeSecretKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected