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

Function printIssueConsent

packages/cli/src/commands/feedback.ts:32–42  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

30}
31
32function printIssueConsent(dir: string): void {
33 console.log();
34 console.log(
35 ` ${c.bold("Filing an issue will publish this project publicly and open a GitHub issue draft.")}`,
36 );
37 console.log(` ${c.dim(`Project at ${dir} will be uploaded to a public URL.`)}`);
38 console.log(
39 ` ${c.dim("The issue draft will contain that public link plus your feedback; you review and submit it.")}`,
40 );
41 console.log();
42}
43
44async function promptConfirm(): Promise<boolean> {
45 const approved = await clack.confirm({ message: "Publish this project and draft the issue?" });

Callers 1

confirmFileIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected