MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / promptConfirm

Function promptConfirm

packages/cli/src/commands/feedback.ts:44–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44async function promptConfirm(): Promise<boolean> {
45 const approved = await clack.confirm({ message: "Publish this project and draft the issue?" });
46 return !clack.isCancel(approved) && approved === true;
47}
48
49/**
50 * Consent gate: publishing uploads the project to a PUBLIC url, so confirm

Callers 1

confirmFileIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected