MCPcopy Create free account
hub / github.com/PaperElectron/Sundry / Prompt

Function Prompt

cli/interactive.js:346–353  ·  view source on GitHub ↗
(prompt)

Source from the content-addressed store, hash-verified

344 * For shame for shame, inquirer breaks node conventions, and doesn't return error first callbacks.
345 */
346function Prompt(prompt){
347 return new Promise(function(resolve, reject){
348 inquirer.prompt(prompt, function(answer){
349 var unwrapped = answer[_.keys(answer)[0]]
350 resolve(unwrapped);
351 })
352 })
353}
354
355

Callers 9

getHostListFunction · 0.85
mainPromptFunction · 0.85
runAgainFunction · 0.85
continuePromptFunction · 0.85
confirmPromptFunction · 0.85
finishPromptFunction · 0.85
errorPromptFunction · 0.85
balancePromptFunction · 0.85
ttlPromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected