MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / settle

Function settle

cli/src/cli/readline.ts:33–39  ·  view source on GitHub ↗
(callback: () => void)

Source from the content-addressed store, hash-verified

31 */
32async function askQuestion(prompt: string, enableHistory: boolean): Promise<string | null> {
33 while (true) {
34 const rl = readline.createInterface({
35 input: process.stdin,
36 output: process.stdout,
37 ...(enableHistory ? { history: [...history], historySize } : {}),
38 });
39
40 const sigcontAbortController = new AbortController();
41
42 rl.on('SIGCONT', () => {

Callers 1

questionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected