MCPcopy Create free account
hub / github.com/different-ai/opencode-browser / ask

Function ask

bin/cli.js:86–90  ·  view source on GitHub ↗
(question)

Source from the content-addressed store, hash-verified

84});
85
86function ask(question) {
87 return new Promise((resolve) => {
88 rl.question(question, (answer) => resolve(answer.trim()));
89 });
90}
91
92async function confirm(question) {
93 const answer = await ask(`${question} (y/n): `);

Callers 3

confirmFunction · 0.85
resolveExtensionIdFunction · 0.85
installFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected