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

Function confirm

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

Source from the content-addressed store, hash-verified

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
110import { execFile } from 'child_process';

Callers 1

prime-gaming.jsFile · 0.90

Calls 1

promptFunction · 0.85

Tested by

no test coverage detected