MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / prompt

Function prompt

utils/storage_manager.mjs:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100function prompt() {
101 const rl = readline.createInterface({ input, output });
102 rl.question("Enable 'MANAGE_EXTERNAL_STORAGE' permission? Y/n: ", async (answer) => {
103 rl.close();
104 await handleAnswer(answer);
105 });
106}
107
108const args = process.argv.slice(2);
109let answer = null;

Callers 1

Calls 2

handleAnswerFunction · 0.85
closeMethod · 0.65

Tested by

no test coverage detected