MCPcopy
hub / github.com/vogler/free-games-claimer / prompt

Function prompt

src/util.js:106–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104// single prompt that just returns the non-empty value instead of an object
105// @ts-ignore
106export const prompt = o => enquirer.prompt({ name: 'name', type: 'input', message: 'Enter value', ...o }).then(r => r.name).catch(_ => {});
107export const confirm = o => prompt({ type: 'confirm', message: 'Continue?', ...o });
108
109// notifications via apprise CLI

Callers 7

prime-gaming.jsFile · 0.90
authFunction · 0.90
epic-games.jsFile · 0.90
gog.jsFile · 0.90
unrealengine.jsFile · 0.90
confirmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected